0/22 уроков (0%)
– из 22
Practical Advice for Go Library Authors
YouTube·GopherCon
Explore practical advice for Go library authors in this 41-minute conference talk from GopherCon 2016. Dive into essential topics such as naming conventions, object construction, zero value considerations, and constructor functions. Learn about singleton options, effective logging practices, and the pros and cons of interfaces versus structs. Discover best practices for creating random packages, handling panics, and working with channels and goroutines. Gain insights on when to use context.Context, designing for efficiency, and leveraging /vendor in libraries. Master the art of clean code organization and effective use of build tags to create robust and user-friendly Go libraries.