Go
64 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- sqlhistorical
Go's sql.DB can be shared by multiple goroutines. These notes record connection setup, queries, and connection validation.
- structhistorical
Go structs of the same type can be compared field by field. These notes examine equality, usage, and related restrictions.
- sync.singleflighthistorical
These notes use examples to examine singleflight and how simultaneous calls for the same request can share execution.
- xormhistorical
These notes record XORM configuration and commands, using configuration files and examples to show database integration.