cjdcmd
cjdcmd copied to clipboard
Build fails
System: Ubuntu 12.04 (amd64), go version go1.0.3b:
$ go get github.com/inhies/cjdcmd github.com/miekg/dns projects/go/src/github.com/miekg/dns/labels.go:108: function ends without a return statement projects/go/src/github.com/miekg/dns/labels.go:132: function ends without a return statement
I managed to solve this issue by adding something like "return CountLabes(s)" and "return Split(s)" to the end of the respective functions. Now it builds successfully.
I should probably report this issue to https://github.com/miekg/dns.
Update: Cross-posted in https://github.com/miekg/dns/issues/52