-
Notifications
You must be signed in to change notification settings - Fork 0
/
gtigen.go
26 lines (23 loc) · 1.23 KB
/
gtigen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by "goki generate ./..."; DO NOT EDIT.
package main
import (
"goki.dev/gti"
"goki.dev/ordmap"
)
var _ = gti.AddFunc(>i.Func{
Name: "main.hello",
Doc: "Hello displays a greeting message and an age in weeks based on the given information.",
Directives: gti.Directives{
>i.Directive{Tool: "gti", Directive: "add", Args: []string{}},
},
Args: ordmap.Make([]ordmap.KeyVal[string, *gti.Field]{
{"firstName", >i.Field{Name: "firstName", Type: "string", LocalType: "string", Doc: "", Directives: gti.Directives{}, Tag: ""}},
{"lastName", >i.Field{Name: "lastName", Type: "string", LocalType: "string", Doc: "", Directives: gti.Directives{}, Tag: ""}},
{"age", >i.Field{Name: "age", Type: "int", LocalType: "int", Doc: "", Directives: gti.Directives{}, Tag: ""}},
{"likesGo", >i.Field{Name: "likesGo", Type: "bool", LocalType: "bool", Doc: "", Directives: gti.Directives{}, Tag: ""}},
}),
Returns: ordmap.Make([]ordmap.KeyVal[string, *gti.Field]{
{"greeting", >i.Field{Name: "greeting", Type: "string", LocalType: "string", Doc: "", Directives: gti.Directives{}, Tag: ""}},
{"weeksOld", >i.Field{Name: "weeksOld", Type: "int", LocalType: "int", Doc: "", Directives: gti.Directives{}, Tag: ""}},
}),
})