package
0.5.36
Repository: https://github.com/devlights/try-golang.git
Documentation: pkg.go.dev

# README

サンプルリスト

このディレクトリには以下のサンプルがあります。

fileexample namenote
error_basic.goerror_basicerror のハンドリングについてのサンプル
error_sentinel.goerror_sentinelGoにおけるエラー処理イディオムの sentinel error check についてのサンプルです.
error_typeassertion.goerror_typeassertionGoにおけるエラー処理イディオムの type assertion check についてのサンプルです.
error_wrap_unwrap.goerror_wrap_unwrapGoにおけるエラー処理にてエラーを内包するやり方についてのサンプルです。
error_is_and_as.goerror_is_and_aserrors.Is(), errors.As() のサンプルです。
error_wrap_multiple_error.goerror_wrap_multiple_errorGo 1.20 で導入された %w を複数指定できるようになった機能のサンプルです。