Search across all documentation pages
10 pages in this section.
Explore advanced Go features like go:embed, build modes, and assembly to manage static assets, OS-specific code, and optimize performance.
Learn to use Go's advanced language features like go:embed for files and directories, build tags, and assembly with 10 practical examples.
Learn to embed files and templates directly into Go binaries using //go:embed. Discover how to use embed.FS with http.FileServer and template.ParseFS.
Learn to use Go build constraints with //go:build lines, file suffixes, and custom tags to compile platform-specific code for different OS, architecture, or features.
Learn best practices for Go's advanced language features. Understand when to use go:embed, build tags, plugins, and assembly for optimal performance.
A single-page roundup of every highlight bullet from the 9 pages in the Advanced Features section, grouped by source page so you can scan all 47 takeaways without opening each article individually.