Files
flatbuffers/tests/MyGame/InParentNamespace.go
kostya-sh 062dcf7007 Use standard header for generated Go files (#4961)
As recommended by https://golang.org/pkg/cmd/go/internal/generate/:

  To convey to humans and machine tools that code is generated,
  generated source should have a line early in the file that
  matches the following regular expression (in Go syntax):

        ^// Code generated .* DO NOT EDIT\.$
2018-10-03 11:19:40 -07:00

35 lines
786 B
Go

// Code generated by the FlatBuffers compiler. DO NOT EDIT.
package MyGame
import (
flatbuffers "github.com/google/flatbuffers/go"
)
type InParentNamespace struct {
_tab flatbuffers.Table
}
func GetRootAsInParentNamespace(buf []byte, offset flatbuffers.UOffsetT) *InParentNamespace {
n := flatbuffers.GetUOffsetT(buf[offset:])
x := &InParentNamespace{}
x.Init(buf, n+offset)
return x
}
func (rcv *InParentNamespace) Init(buf []byte, i flatbuffers.UOffsetT) {
rcv._tab.Bytes = buf
rcv._tab.Pos = i
}
func (rcv *InParentNamespace) Table() flatbuffers.Table {
return rcv._tab
}
func InParentNamespaceStart(builder *flatbuffers.Builder) {
builder.StartObject(0)
}
func InParentNamespaceEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT {
return builder.EndObject()
}