You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Verified details These details have been verified by PyPI Maintainers Widdershin Unverified details These details have not been verified by PyPI Project links Homepage GitHub Statistics butterdb ======== | Master: |Build Status Master| | Develop: |Build Status Develop| `Documentation`_ | `butterdb on PyPi`_ butterdb is a library to help you work with Google Spreadsheet data. It lets you model your
今日は13日の金曜日! ということでせっかくなのでJSONネタで The Gopher character is based on the Go mascot designed by Renée French. encoding/json GoにはJSONを扱う標準パッケージが含まれています。 encoding/json 3rd partyのJSONライブラリでも探してきて試そうかとも思ったのですがそれ以前に標準パッケージを全然把握していない自分に気付いたので、そちらを試すことにしました。 エンコード 手っ取り早くエンコードするにはMarshal関数を使います。インデント整形したい場合はMarshalIndentを使います。 structのエンコード structをJSONオブジェクトにエンコードします。 package main import ( "encoding/json" "log
⚠⚠⚠ Note ⚠⚠⚠ gorilla/context, having been born well before context.Context existed, does not play well with the shallow copying of the request that http.Request.WithContext (added to net/http Go 1.7 onwards) performs. Using gorilla/context may lead to memory leaks under those conditions, as the pointers to each http.Request become "islanded" and will not be cleaned up when the response is sent. Yo
以前 Perl で、forkして並列実行するベンチマークを取るためのライブラリ、Parallel::Benchmark というのを書きました。 Parallel::Benchmark というモジュールを書きました - 酒日記 はてな支店 これを使うと、単に Perl コードのベンチマークだけではなく、並列に外部にアクセスして計測を行うような (たとえばApacheBenchのような) ベンチマークツールが簡単に作れるので重宝しています。(仕事では、ソーシャルゲームのサーバアプリケーションに対する負荷テストを行うために使ったりもしています) で、思い立って Go 版を書きました。 kayac/parallel-benchmark · GitHub 使用例 フィボナッチ数を求めるコードを並列実行するベンチマーク fib(30) を1回計算するごとにスコア1とする 10個の goroutine
go-github googleがgo-githubというgithub clientを作っているのでこれを使ってみます。 実装 ログインリンク生成 「The go-github library does not directly handle authentication.」とのことで、 認証はgoauth2などを使う必要があります。 // app/controllers/app.go import ( "code.google.com/p/goauth2/oauth" "github.com/google/go-github/github" // ... ) var GITHUB = &oauth.Config{ ClientId: "***", ClientSecret: "******", AuthURL: "https://github.com/login/oauth/author
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く