basebank / gophers-code-reading-party

Gophers Code Reading Party records
18 stars 1 forks source link

20220317 Gophers Code Reading Party #24

Closed budougumi0617 closed 1 year ago

budougumi0617 commented 2 years ago

15:00~16:00 @ Zoom, BASE BANK, Inc.

参加者

@budougumi0617 @daisuzu

お題

ネタ

ネタがなかったら proposal: review meeting minutes をみてみよう!
https://github.com/golang/go/issues/33502

budougumi0617 commented 2 years ago

お!!!

実用 Go言語 ―システム開発の現場で知っておきたいアドバイス https://www.amazon.co.jp/dp/4873119693

budougumi0617 commented 2 years ago

Go1.18リリース! https://twitter.com/golang/status/1503787326060875782

tipはもう読んでますがリリース早巡り https://mobile.twitter.com/mattn_jp/status/1503889485058441216

budougumi0617 commented 2 years ago

staticcheckの調子がわるくなるらしい。 https://mobile.twitter.com/dominikhonnef/status/1503793590991994882

budougumi0617 commented 2 years ago

genericsでORM https://zenn.dev/mazrean/articles/c795c04e4837b4 https://github.com/mazrean/genorm

budougumi0617 commented 2 years ago

auto completion聞いたりするplayground https://goplay.tools/

budougumi0617 commented 2 years ago

リリースブロッカーとかみるやつ(Go1.19にしてみた) https://github.com/golang/go/issues?q=is%3Aopen+is%3Aissue+label%3Arelease-blocker+milestone%3AGo1.19+

budougumi0617 commented 2 years ago

genericsつかったGo版lodashみたいなやつ https://github.com/samber/lo

budougumi0617 commented 2 years ago

1 min guide to Golang development best practices in 2022 https://blog.canopas.com/1-min-guide-to-golang-development-best-practices-in-2022-b50d846fd6c

そのとおりか別として1主張として読んでもよいかなと。

budougumi0617 commented 2 years ago

これも2022版になってたな。 https://roadmap.sh/golang

budougumi0617 commented 2 years ago

今日もこちらで! https://zoom.us/j/98968207509?pwd=Y1B3dDJMQS9UdEdpUGxEd1J2UEdmdz09

daisuzu commented 2 years ago

go1.18だと go build -buildvcs=false にしないとダメなケースがありました

budougumi0617 commented 2 years ago

とはいえ。。。? https://mobile.twitter.com/mattn_jp/status/1503890527879831552

go のバイナリに vcs のバージョン情報が含まれる事になりました。これによりバイナリがどのソースから生成されたのか追跡する事ができます。

budougumi0617 commented 2 years ago

このへんも同じような話題かな? ref: https://github.com/golang/go/issues/51723

daisuzu commented 2 years ago

https://github.com/golang/tools/blob/master/gopls/doc/advanced.md#unstable-versions

budougumi0617 commented 2 years ago

GitHub Web UI上でコードジャンプとかに使っているのはoctlinkerです。 https://octolinker.vercel.app/

budougumi0617 commented 2 years ago

genericsでORM https://zenn.dev/mazrean/articles/c795c04e4837b4 https://github.com/mazrean/genorm

interfaceたどってコードリーディングするの結構手間かもしれない。 (このrepoのコードがということではなくて、genericsで型制約として継承関係があるinterfaceを多用しているコード一般的な話)

budougumi0617 commented 2 years ago

https://github.com/basebank/gophers-code-reading-party/issues/24#issuecomment-1070241586

にあわかJSerとしてはlodashって名前だと逆に使うと怒られてしまうんじゃないかって気分に

budougumi0617 commented 2 years ago

GORM きびしー話。 https://tech.andpad.co.jp/entry/2022/02/18/140000

budougumi0617 commented 2 years ago

1 min guide to Golang development best practices in 2022 https://blog.canopas.com/1-min-guide-to-golang-development-best-practices-in-2022-b50d846fd6c

そのとおりか別として1主張として読んでもよいかなと。

jwtはmaki-sanのもあるよね https://github.com/lestrrat-go/jwx

loggingは最近なんなんだろ。 https://learning.oreilly.com/library/view/cloud-native-go/9781492076322/ch11.html#section_ch11_logging

cloud native goはzapの話ししている。とはいえlogger pkgはcontext対応してほしい

budougumi0617 commented 2 years ago

dependa-bot使う時はsongmuさんの↓を参考に @dependabot ignore this minor version と合わせて https://songmu.jp/riji/entry/2020-03-23-dependabot.html

budougumi0617 commented 2 years ago

go mod graph つかって依存理由を調べてみる…sentryくん。。。

...
github.com/getsentry/sentry-go@v0.12.0 github.com/kataras/iris/v12@v12.1.8
github.com/kataras/iris/v12@v12.1.8 github.com/gomodule/redigo@v1.7.1-0.20190724094224-574c33c3df38
...
budougumi0617 commented 2 years ago

https://github.com/samber/lo

いっこいっこ小さいんでgenerics慣らしにおもしろそう。