並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 10 件 / 10件

新着順 人気順

golang format string booleanの検索結果1 - 10 件 / 10件

  • Go公式のlinter、Golintが非推奨になった

    Goが公式で出していたGolintがdeprecated/frozenしました。 メンテがされていない 2018年から実質的な変更が加わってない Issueも放置されているものが多い golang orgに存在するlinterなのでGoが公式として推奨しているlinterに見える Go が実際には保守されていないプログラムを公式として推奨しているように見えてしまう 開発者は合理的に異なるスタイルを採用したい場合がある Golint単体で特定の警告を無視したりするなどの機能を持っていない ということからattractive nuisance(魅力的な迷惑者)になっているというProposalでした。 Issueの議論を見てもdeprecate/frozenすることに対して否定的な意見は少なく、一年ほど前にapproveされました。(なので「非推奨にしよう」なったの自体は少し前の話です) そし

      Go公式のlinter、Golintが非推奨になった
    • Golangbyexample | สล็อตเว็บตรง PG SLOT รับวอเลท สล็อต เว็บแท้

      Golangbyexample | สล็อตเว็บตรง PG SLOT รับวอเลท สล็อต เว็บแท้ Golangbyexample เว็บสล็อตตรง ไม่ผ่านเอเย่นต์ สล็อตเว็บตรง API แท้ไม่มีล็อคยูส สล็อต ครบทุกค่ายชั้นนำ PG SLOT ฝากถอนวอเลทไม่มีขั้นต่ำ Note: Check out our golang advanced tutorial here Also, check out our system design tutorial series here About Golang Golang Advanced Tutorial Series About GOLANG GO Installation Set up GO Workspace and He

        Golangbyexample | สล็อตเว็บตรง PG SLOT รับวอเลท สล็อต เว็บแท้
      • Go 1.17 Release Notes - The Go Programming Language

        Introduction to Go 1.17 The latest Go release, version 1.17, arrives six months after Go 1.16. Most of its changes are in the implementation of the toolchain, runtime, and libraries. As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before. Changes to the language Go 1.17 includes three small enhancements to the l

          Go 1.17 Release Notes - The Go Programming Language
        • Go 1.19 Release Notes - The Go Programming Language

          Introduction to Go 1.19 The latest Go release, version 1.19, arrives five months after Go 1.18. Most of its changes are in the implementation of the toolchain, runtime, and libraries. As always, the release maintains the Go 1 promise of compatibility. We expect almost all Go programs to continue to compile and run as before. Changes to the language There is only one small change to the language, a

            Go 1.19 Release Notes - The Go Programming Language
          • go vet に含まれないスタンドアロンな静的解析ツールたち | フューチャー技術ブログ

            はじめにTIG真野です。育休明けです。 Go言語の特徴の1つに、静的解析ツールがリッチということがあると思いますが、代表格である go vet と付随する(という表現が正しいか不明ですが)ツール群についてまとめます。知っておくと似たようなツールを作ってしまうことを防げるかなという点と、類似のチェックを行いたい場合に参考にしたいこと、ユースケースが合えばこれらを利用してハッピーになりたいという思いがあります。 go vetとはgo vet はGo言語に標準で組み込まれた静的解析ツールで、コンパイラによってキャッチされないエラーや懸念を検出し報告してくれます。Linter(リンター)の一種です。 チェック内容の一覧は go tool vet help コマンドで確認できます。デフォルトでは全て有効になっており(-asmdecl=false などで個別に無効化は可能)、Go1.21時点では30の

              go vet に含まれないスタンドアロンな静的解析ツールたち | フューチャー技術ブログ
            • 多くのデータベースに対応したマイグレーションツール migrate を MySQL で試した - kakakakakku blog

              データベースのマイグレーションを行うツール migrate を試した.migrate は MySQL / MariaDB / PostgreSQL / Amazon Redshift / MongoDB / Cassandra など,多くのデータベースに対応している.GitHub リポジトリを見るともっと多くのデータベースに対応していることがわかる.他にも GitHub や Amazon S3 に置かれたマイグレーションファイルを直接読み込む機能や Go ライブラリとしてアプリケーションに組み込める機能などもある.今回は MySQL を使ってマイグレーションの基本的な機能を試す❗️ github.com インストール macOS だと Homebrew を使って簡単に migrate CLI をインストールできる.今回は v4.15.2 を使う. $ brew install golang

                多くのデータベースに対応したマイグレーションツール migrate を MySQL で試した - kakakakakku blog
              • Why you shouldn’t use Redis as a rate limiter: Part 1 of 2

                (This is the first of a two part series on rate limiting with Redis. This part will look at possible implementations, and the second part will look at performance) My colleague Eric has informed me that many companies are now using Redis to implement rate limiting, and has witnessed serious businesses doing this, first hand. “Redis?”, I thought. “Isn’t that that thing to cache your slow HTTP page

                  Why you shouldn’t use Redis as a rate limiter: Part 1 of 2
                • pow-captcha

                  💥PoW! Captcha A proof of work based captcha similar to mCaptcha. Compared to mainstream captchas like recaptcha, hcaptcha, friendlycaptcha, this one is better for a few reasons: It is lightweight & all dependencies are included; total front-end unminified gzipped file size is about 50KB. It is self-hosted. It does not spy on you or your users; you can tell because you run it on your own server, y

                    pow-captcha
                  • Django for Startup Founders: A better software architecture for SaaS startups and consumer apps

                    In an ideal world, startups would be easy. We'd run our idea by some potential customers, build the product, and then immediately ride that sweet exponential growth curve off into early retirement. Of course it doesn't actually work like that. Not even a little. In real life, even startups that go on to become billion-dollar companies typically go through phases like: Having little or no growth fo

                    • モジュール数 100+ の Go Monorepo の CI を改善した話

                      詳細 実装したワークフローは大きく以下の 3 つです。複雑な処理は Composite Actions として以下のワークフローとは別で切り出しています。 依存解析用のワークフロー: .github/workflows/pr--golang.yaml テスト用の Workflow Call: .github/workflows/call--golang-test.yaml リント用の Workflow Call: .github/workflows/call--golang-lint.yaml .github/workflows/pr--golang.yaml 以下、処理の流れがわかるよう抜粋したコードです。 name: PR / Go on: push: branches: - main pull_request: branches: - main # 🦏 concurrency: g

                        モジュール数 100+ の Go Monorepo の CI を改善した話
                      1