Web API package for use when compling Go to WASM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

12 lines
280 B

package main
import "strings"
type Body struct {
Arguments []Argument `json:"arguments"`
IDLType IDLType `json:"idlType"`
Name Name `json:"Name"`
Trivia interface{} `json:"trivia"`
}
func (b Body) Title() string { return strings.Title(b.Name.Value) }