はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    ブラックフライデー

『Calhoun.io - Go for Everyone』

  • 人気
  • 新着
  • すべて
  • Moving Towards Domain Driven Design in Go - Calhoun.io

    4 users

    www.calhoun.io

    Moving Towards Domain Driven Design in Go The goal of this article is to help illustrate how an application might evolve over time so that we can understand some of the problems that a more domain driven design might help with. To that end, we are going to look at a fairly trivial project as it evolves over time. This project won’t be complete - the sample code won’t compile, isn’t tested with a c

    • テクノロジー
    • 2020/02/15 13:29
    • design
    • Flat Application Structure in Go - Calhoun.io

      38 users

      www.calhoun.io

      Flat Application Structure in Go Rather than spending time trying to figure out how to break code into packages, an app with a flat structure would just place all of the .go files in a single package. A flat application structure is what almost everyone begins with when diving into Go. Every program in the Go tour, most exercises in Gophercises, and many others early Go programs don’t get broken i

      • テクノロジー
      • 2019/10/18 11:03
      • go
      • あとで読む
      • architecture
      • design
      • web
      • How to determine if a JSON key has been set to null or not provided - Calhoun.io

        3 users

        www.calhoun.io

        How to determine if a JSON key has been set to null or not provided I was recently skimming my Twitter feed for new Go articles, libraries, etc and I stumbled across a tweet with this message: #Golang’s JSON Unmarshalling Is Bad I’m not even sure how it managed to find its way into my feed. I wasn’t following the person who said it, so the only reason it would show up in my feed is the #Golang has

        • 暮らし
        • 2019/01/31 18:18
        • *あとで読む
        • Securing Cookies in Go - Calhoun.io

          6 users

          www.calhoun.io

          Securing Cookies in Go When I first started learning Go I had experience with web development, but a little less experience working directly with cookies. I was coming from a Rails background, and while I had to read/write cookies in Rails, I didn’t actually need to implement all of the security measures myself. You see, Rails is big on having most things done by default. You don’t need to go setu

          • テクノロジー
          • 2017/08/28 08:58
          • Go
          • security
          • あとで読む
          • Using functional options instead of method chaining in Go - Calhoun.io

            25 users

            www.calhoun.io

            Using functional options instead of method chaining in Go In Java, it is pretty common to see libraries that use method chaining (aka the builder pattern) to construct resources. For example, we might construct a user by doing something like: User user = new User.Builder() .name("Michael Scott") .email("michael@dundermifflin.com") .role("manager") .nickname("Best Boss") .build(); Builders are hand

            • テクノロジー
            • 2017/08/04 16:40
            • golang
            • Go
            • Java
            • あとで読む
            • Using code generation to survive without generics in Go - Calhoun.io

              3 users

              www.calhoun.io

              // THIS IS NOT VALID CODE, but if it were we would be stating // that this specific List, demo, could only contain integer // values, and our compiler could help us verify that we // do not break that contract. var demo list.List<int> Unfortunately, there aren’t generics in Go. I don’t want to get into an argument about whether or not they are worth the added complexity here, but what I would like

              • テクノロジー
              • 2017/05/12 08:23
              • Golang
              • 5 Useful Ways to Use Closures in Go - Calhoun.io

                5 users

                www.calhoun.io

                5 Useful Ways to Use Closures in Go In this article we are going to explore several different real world use cases for closures and anonymous functions so that you can get a better understanding of when closures are a good fit, and see how they are applied to different situations. This article is part of the series An Introduction to Templates in Go. You may want to check out earlier articles befo

                • テクノロジー
                • 2016/09/16 16:04
                • Go
                • programming
                • 6 Tips for Using Strings in Go - Calhoun.io

                  3 users

                  www.calhoun.io

                  6 Tips for Using Strings in Go If you are coming to Go from another language like Ruby or Python there are a lot of changes to take in, and many of these revolve around the string type. Below is a list of some quick tips that answered questions I had during my first few weeks using Golang. 1.Multiline strings Creating a multiline string in Go is actually incredibly easy. Simply use the backtick (`

                  • テクノロジー
                  • 2016/08/30 23:55
                  • Using Functions Inside Go Templates - Calhoun.io

                    4 users

                    www.calhoun.io

                    Using Functions Inside Go Templates In this tutorial we are going to cover how to use template functions like and, eq, and index to add some basic logic to our templates. Once we have a pretty good understanding of how to use these functions we will explore how to go about adding some custom functions to our templates and using them. This is part three of a four part series introducing the html/te

                    • テクノロジー
                    • 2016/08/30 11:44
                    • Controllers and Views in Go - Calhoun.io

                      4 users

                      www.calhoun.io

                      Controllers and Views in Go Chances are a lot of developers who pick up Go will be familiar with the MVC model. Models, views, and controllers are great for abstracting away code, but sadly there aren’t many examples of how to use them in Go. In this post I am going to go over how to get started with a basic controller and view in Go, and cover a really simple web application that uses them. While

                      • テクノロジー
                      • 2015/02/05 14:22

                      このページはまだ
                      ブックマークされていません

                      このページを最初にブックマークしてみませんか?

                      『Calhoun.io - Go for Everyone』の新着エントリーを見る

                      キーボードショートカット一覧

                      j次のブックマーク

                      k前のブックマーク

                      lあとで読む

                      eコメント一覧を開く

                      oページを開く

                      はてなブックマーク

                      • 総合
                      • 一般
                      • 世の中
                      • 政治と経済
                      • 暮らし
                      • 学び
                      • テクノロジー
                      • エンタメ
                      • アニメとゲーム
                      • おもしろ
                      • アプリ・拡張機能
                      • 開発ブログ
                      • ヘルプ
                      • お問い合わせ
                      • ガイドライン
                      • 利用規約
                      • プライバシーポリシー
                      • 利用者情報の外部送信について
                      • ガイドライン
                      • 利用規約
                      • プライバシーポリシー
                      • 利用者情報の外部送信について

                      公式Twitter

                      • 公式アカウント
                      • ホットエントリー

                      はてなのサービス

                      • はてなブログ
                      • はてなブログPro
                      • 人力検索はてな
                      • はてなブログ タグ
                      • はてなニュース
                      • ソレドコ
                      • App Storeからダウンロード
                      • Google Playで手に入れよう
                      Copyright © 2005-2025 Hatena. All Rights Reserved.
                      設定を変更しましたx