2023-01-14から1日間の記事一覧
こんな事をgo1.19でやりたかった。 type A interface{} type Hoge interface { A | comparable } でも書いてみるとgoplsにcannot use comparable in unionと怒られてしまう。 調べてみると次のIssueがヒットした。 https://github.com/golang/go/issues/4960…
こんな事をgo1.19でやりたかった。 type A interface{} type Hoge interface { A | comparable } でも書いてみるとgoplsにcannot use comparable in unionと怒られてしまう。 調べてみると次のIssueがヒットした。 https://github.com/golang/go/issues/4960…