summaryrefslogtreecommitdiff
path: root/tests/MyGame/Example/Ability.go
AgeCommit message (Collapse)AuthorFilesLines
2020-01-16[Go] Replace references to hardcoded ”Monster" etc with idiomatic go ↵Somo1-1/+1
wherever possible (#5716) * go: replace objAPI-generated Pack func with method See discussion at https://github.com/google/flatbuffers/issues/5668 * go: replace generated union type UnPack func with method Similar to discussion https://github.com/google/flatbuffers/issues/5668 But signature: ``` func AnyUnPack(t Any, table flatbuffers.Table) *AnyT ``` Becomes, ``` func (rcv Any) UnPack(table flatbuffers.Table) *AnyT ```
2019-11-04[Go] Add UnPackTo functions (#5598)Lawrence Chan1-2/+6
2019-10-31[Go] Object API support (#5339)iceboy1-0/+17
* start * works for current usages! * unpack: vector of struct * optimize byte slice * support nested struct * support null table * support struct * support union * update generated code * grumble * fix compiler warning * update generated code * wrap type in namespace * bug * wrap in namespace * enum byte arrays * generate struct for unions * basic testing * remove branching * fix assert * pack vector of fixed structs correctly * omit null vectors * Refactor Union Pack and UnPack methods Remove append usage to increase code efficiency when dealing with large vectors * generate goldens
2018-10-03Use standard header for generated Go files (#4961)kostya-sh1-1/+1
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\.$
2017-03-29Support binary search for struct in cpp (#4245)tianyapiaozi1-0/+41
* Support binary search for struct in cpp CreateVectorOfSortedStruct is provided for convenience. * fix continuous-integration error * add generated files * compile Ability.cs in csharp test * compile Ability.cs in csharp * modify according to code review