moznion/go-optional v0.11.0 has been out. This version brings two major features:
- `UnwrapAsPtr()` which returns a inner value as a pointer; i.e. this returns nil if the Option is None.
- Supports `database/sql/driver.Valuer` and `database/sql.Scanner` on Option type. In other words, now this Option type can be used by Golang SQL standard interface.
Enjoy!
https://github.com/moznion/go-optional/releases/tag/v0.11.0
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
moznion (moznion@mastodon.cloud)'s status on Saturday, 22-Jul-2023 15:35:50 JST moznion