PracowniaProgramowania/backend/go_proto_buffer/main.go

22 lines
700 B
Go
Raw Normal View History

2018-11-16 20:55:41 +01:00
package main
//stat -f%z person.xml nie dziala :<
// go get github.com/golang/protobuf
//[!] błąd [!] can't load package: package github.com/golang/protobuf: no Go files in C:\Users\dp\go\src\github.com\golang\protobuf
//go get github.com/golang/protobuf/proto
2018-11-18 23:42:18 +01:00
//https://github.com/golang/protobuf
//go get -u github.com/golang/protobuf/protoc-gen-go dziala
//The compiler plugin, protoc-gen-go, will be installed in $GOBIN,
//defaulting to $GOPATH/bin. It must be in your $PATH for the protocol compiler, protoc, to find it.
//protoc
// 'protoc' is not recognized as an internal or external command,
// operable program or batch file.
2018-11-16 20:55:41 +01:00
import "fmt"
func main() {
fmt.Println("Hello World")
}