package
0.0.0-20221231140944-a5ff81547131
Repository: https://github.com/bobstrange/go-playground.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
ファクトリの内部で sync.Pool を使う.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ファイル名や、ファイル自体ではなく、io.Writer, io.Reader の interface に依存した I/F を作る.
ファイルを入出力にする場合の Wrapper.
文字列を入出力にする場合の Wrapper.
anti pattern.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
iota を使って enum 的なものを定義する.
iota を使って enum 的なものを定義する.
iota を使って enum 的なものを定義する.
iota + 1 ではなく int のゼロ値 0 になるようにしておく.
No description provided by the author
No description provided by the author
iota を使って enum 的なものを定義する.
No description provided by the author
No description provided by the author
iota を使って enum 的なものを定義する.
No description provided by the author
iota を使って enum 的なものを定義する.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
iota を使って enum 的なものを定義する.
# Variables
エラーを変数に登録して公開しておく 1.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
3.
Immutable Entity の場合は Mutable にしたほうが良い場合が多いらしい ValueObject の場合に Immutable にするっぽい Time など.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Marshal と Unmarshal を拡張する.
動的に JSON のフィールドが変わる場合.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
int 型を拡張した HTTPStatus の例.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author