-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
20211014 Gophers Code Reading Party #13
Comments
(Goなのに)Javaみたいに書かないで!って言いたいときはJavaesque codeって使うらしい。
interface切り過ぎとかファクトリーとかビルダーパターン使うとか。
「k8sは偉大な参考例だよね(皮肉)」ってfatihさんも言ってる |
無駄にメンション飛ばしてしまった気がする() |
スケジュール公開ー!
|
888888 |
Grafanaの人が最近やってるサーバーの宣言方法 https://mobile.twitter.com/matryer/status/1445013230858952705 |
Go Modulesの読み方
|
tipでbytes pkgとstrings pkgにCutが入った。 |
Go 1.17.2 and 1.16.9 are released! |
Go版Java Puzzlers |
今週のWeeklyはワタシ的に面白い記事多かった。 |
https://twitter.com/__syumai/status/1446823274835374088?s=20
|
GoのGenerics関連のAcceptされたProposalを全部紹介する会 |
pike先生...!! |
pike先生が「1.18は変更でかすぎるからstd pkgの変更はx pkgでまずはやってみようや」みたいなことを提案している。 |
func main() {
var N int64
cw := io.Writer(func(p []byte) (n int, err error) {
n, err = os.Stdout.Write(p)
N += int64(n)
return n, err
})
// write things to cw
fmt.Println(N, "bytes written")
} |
いわゆるダックタイピングがいいとこなのに明示的に書いちゃうのはちょっと抵抗感あるにはあるな |
https://www.pragprog.com/titles/d-gobrain/go-brain-teasers/ 1,000円くらいだからとりあえず買ってみるとよさそうでした。
|
Go1.17.2 とかのセキュリティアップデートの内容
1行でまとめてくれてたわ。 |
Gocon Autumn
|
Gocon Autumn |
replicaだめだったらmasterみるみたいな構造。sq/driver層でやるといいかも。。。? ↑ |
GoCon Autum、Mobility Technologiesの人とRettyの人がおおい雰囲気 |
そういえばモックを使わないほうがいいよねっていう話があった。 |
func (c *Client) PutRecord(ctx context.Context, params *PutRecordInput, optFns ...func(*Options)) (*PutRecordOutput, error) {
if params == nil {
params = &PutRecordInput{}
}
result, metadata, err := c.invokeOperation(ctx, "PutRecord", params, optFns, c.addOperationPutRecordMiddlewares)
if err != nil {
return nil, err
}
out := result.(*PutRecordOutput)
out.ResultMetadata = metadata
return out, nil
}
|
GCPのAPIはgrpcなのでinterceptorを実装すると中身すげかえられる。 |
https://twitter.com/rakyll/status/1443609733093486602
Goはデータ駆動なのか振る舞い駆動なのか pike先生がデータ駆動っていってなかったっけ? |
|
データ駆動でやるほうがいいのがわかってけれど設計中のプロセスがどうかわっていくのかちゃんと説明できないな。 |
[memo] firebase/firebase-admin-go#446 |
@ Zoom, BASE BANK, Inc.
参加者
お題
ネタ
ネタがなかったら proposal: review meeting minutes をみてみよう!
golang/go#33502
The text was updated successfully, but these errors were encountered: