Go (golang) Tutorials - Go Tools

Опубликовано: 13 Март 2018
на канале: Ambasoft Java
810
10

#golang #go #tools

Go Tools - gofmt, godoc
----------
1. go clean - Used to keep the current source code directory clean and tidy from binaries
2. go run - shortcut with combination of the following 3 go commands
1. Go build cleandemo.go - compilation
2. ./cleandemo - execute
3. go clean - clean the binaries
3. go vet - Capable to catch implementation and functional errors.
4. go build
1. Go build with a .go source file as a command line argument, will generate a binary with the same name as the .go file
2. Go build without a command line argument, will generate a binary in the name of the package containing the go command (go source with main package and main function)


Смотрите видео Go (golang) Tutorials - Go Tools онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Ambasoft Java 13 Март 2018. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 810 раз и оно понравилось 10 посетителям.