しんめたる
- いいね数 4,626/4,686
- フォロー 848 フォロワー 2,130 ツイート 44,347
- 現在地 岡山県
- Web https://github.com/sinmetal/my-sessions-and-bio
- 自己紹介 GAEマイスター(GAE使ってない)
2014年01月31日(金)

golang でDB扱うアプリ書く時にちょっと便利かもしれないツール作った。 / “mattn/modelgen · GitHub” htn.to/bkuZ2r
タグ:
posted at 13:01:05
2014年01月30日(木)

2014年01月29日(水)


Go 言語を学びながら Web アプリケーションを作成する電子書籍の日本語訳。原文は中国語で、本文のライセンスは CC BY-SA 3.0, コードのライセンスは修正 BSD 3-Clause (と、書いてある。たぶん。) htn.to/dZzVa3
タグ:
posted at 14:52:58

だから Go の構文に不満を持つ人が ジェネリクスとか入った独自言語を作って、プリコンパイルで Go に落としてから、クロスコンパイル環境だけ美味しくいただく、いわゆる AltGo はきっと出てくるんだろうなと正直思う。
タグ:
posted at 14:43:07

Go はプリコンパイルのフェーズをなくして、とにかく爆速でコンパイルしたいという思想を貫いてる。あと構文を極力シンプルにしている。ジェネリクス入れるときっとその思想が少しづつ崩れそうだから、俺はそれでいいと思うんだけど、実際そこに不満を持つ層は一定いるのもわかる。
タグ:
posted at 14:42:50


で、先日 github.com/Jxck/swrap は、 []byte 用のライブラリだったんだけど、他の型のスライスでも使えるようにするために、コードジェネレータを入れた。別途コマンドで指定した型でテンプレからソースを作る。こういうことしてるライブラリはたまに見るので。
タグ:
posted at 14:36:13

Go にはジェネリクスが無い。だから Go で型に対して汎用的なライブラリ書こうとすると、どうしても interface{} + reflect とかになる。なので、LL でやっていた DRY 的なものそのまま持ってくるより、素直に書いてしまった方がいい場合が多い印象。
タグ:
posted at 14:33:19

Batarang ちゃんと使ったことないから、見ておこう。 / “AngularJSのパフォーマンス改善入門 - Qiita [キータ]” htn.to/qb2ZPv
タグ:
posted at 13:32:17
2014年01月28日(火)

今日デモを見た業務コラボのWebアプリ、何で書いてるんですかと聞いたらGoだった。何年か前のPythonと同じで、今はGoだからと優秀なエンジニアを集めやすいとか
タグ:
posted at 21:09:43
2014年01月25日(土)

github.com/yoppi/go-chatw... 作りました。room messagesが取れないから、誰かのポストに反応するbotはまだ作れないか… #golangmk
タグ: golangmk
posted at 17:00:18


2014年01月23日(木)


“Chrome拡張では、Background pages よりも Event pages を使用したほうが良い - よんちゅBlog” htn.to/LtxdUa
タグ:
posted at 00:29:23
2014年01月22日(水)

jsonをgolangの構造体の宣言文に変換してくれる。これ便利かも。 / “JSON-to-Go -- Convert JSON to Go type definitions” htn.to/mEi1ZN
タグ:
posted at 06:19:30
2014年01月21日(火)

golang で java の properties ファイルを読む。 / “magiconair/properties · GitHub” htn.to/TjZgh
タグ:
posted at 10:26:30
2014年01月20日(月)

AngularJS 1.0 系から 1.2 系に変えたら落ちるテストがあって、何かなーーー って頑張って調べたら、$httpBackend.expect に渡したデータが 1.0系だとそのまま渡るけど 1.2系だとコピーが渡るっぽい事がやっと分かった。それでテストが壊れたのか。
タグ:
posted at 15:02:41
2014年01月08日(水)



