engine: resources: Add missing struct tags

These are needed for send/recv.
This commit is contained in:
James Shubin
2019-03-09 16:01:25 -05:00
parent 7cb79bec49
commit 4badeafb98
4 changed files with 17 additions and 17 deletions

View File

@@ -401,8 +401,8 @@ func (obj *TestRes) GroupCmp(r engine.GroupableRes) error {
// TestSends is the struct of data which is sent after a successful Apply.
type TestSends struct {
// Hello is some value being sent.
Hello *string
Answer int // some other value being sent
Hello *string `lang:"hello"`
Answer int `lang:"answer"` // some other value being sent
}
// Sends represents the default struct of values we can send using Send/Recv.