Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
simple
vendor/github.com/golang/protobuf
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
README.md
main.go

README.md

protobuf-bug

Steps to reproduce

# we assume that you have protoc installed already
protoc --version
# libprotoc 3.7.1
protoc  --go_out=./ simple/*.proto
dep ensure
go run main.go
# Data in source: []byte{}
# Nil check result in original object: false
# Data after Unmarshal: []byte(nil)
# Nil check result in unmarshalled object: true
You can’t perform that action at this time.