「Go v1.26 の機能としてerrors.AsType が入る予定」「errors.As のロジックを引き継ぎつつ、Genericsを使用したシグネチャを採用することで、既存の課題を改善した新規のAPI 」ほう
---
Goのerrors.As を習得してerrors.AsType に備える | by Takuya Suehiro | Pairs Engineering | Dec, 2025 | Medium
https://medium.com/eureka-engineering/go%E3%81%AEerrors-as-%E3%82%92%E7%BF%92%E5%BE%97%E3%81%97%E3%81%A6errors-astype-%E3%81%AB%E5%82%99%E3%81%88%E3%82%8B-30690142161a
#bookmarks