mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	
		
			
				
	
	
	
		
			3.0 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			3.0 KiB
		
	
	
	
	
	
	
	
PLEASE NOTE: This document applies to the HEAD of the source tree
If you are using a released version of Kubernetes, you should refer to the docs that go with that version.
The latest release of this document can be found [here](http://releases.k8s.io/release-1.4/docs/devel/go-code.md).Documentation for other releases can be found at releases.k8s.io.
Kubernetes Go Tools and Tips
Kubernetes is one of the largest open source Go projects, so good tooling a solid understanding of Go is critical to Kubernetes development. This document provides a collection of resources, tools and tips that our developers have found useful.
Recommended Reading
- Kubernetes Go development environment
 - The Go Spec - The Go Programming Language Specification.
 - Go Tour - Official Go tutorial.
 - Effective Go - A good collection of Go advice.
 - Kubernetes Code conventions - Style guide for Kubernetes code.
 - Three Go Landmines - Surprising behavior in the Go language. These have caused real bugs!
 
Recommended Tools
- godep - Used for Kubernetes dependency management. See also Kubernetes godep and dependency management
 - Go Version Manager - A handy tool for managing Go versions.
 - godepq - A tool for analyzing go import trees.
 
Go Tips
- Godoc bookmarklet - navigate from a github page to the corresponding godoc page.
 - Consider making a separate Go tree for each project, which can make overlapping dependency management much easier. Remember to set the 
$GOPATHcorrectly! Consider scripting this. - Emacs users - setup go-mode