Commit bcd93b0d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 499704c0
package neo
func (p *Address) NEODecode(data []byte) (int, error) { func (p *Address) NEODecode(data []byte) (int, error) {
{ {
l := BigEndian.Uint32(data[0:]) l := BigEndian.Uint32(data[0:])
......
...@@ -80,6 +80,7 @@ func main() { ...@@ -80,6 +80,7 @@ func main() {
f := fv[0] // proto.go comes first f := fv[0] // proto.go comes first
buf := Buffer{} buf := Buffer{}
buf.WriteString("package neo\n")
for _, decl := range f.Decls { for _, decl := range f.Decls {
// we look for types (which can be only under GenDecl) // we look for types (which can be only under GenDecl)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment