Documentation
¶
Overview ¶
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Code generated from Pkl module `org.foo.BugHolder`. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bug ¶
type Bug struct { // The owner of this bug. Owner *Person `pkl:"owner"` // The age of this bug Age *int `pkl:"age"` // How long the bug holds its breath for HoldsBreathFor pkl.Duration `pkl:"holdsBreathFor"` Size pkl.DataSize `pkl:"size"` Kind bugkind.BugKind `pkl:"kind"` Kind2 bugkindtwo.BugKindTwo `pkl:"kind2"` Kind3 string `pkl:"kind3"` Kind4 string `pkl:"kind4"` BagOfStuff pkl.Object `pkl:"bagOfStuff"` }
type BugHolder ¶
type BugHolder struct { Bug Bug `pkl:"bug"` N蚊子 Bug `pkl:"蚊子"` ThisPerson ThisPerson `pkl:"thisPerson"` D D `pkl:"d"` }
type PersonImpl ¶
type PersonImpl struct { IsAlive bool `pkl:"isAlive"` Bike Bike `pkl:"bike"` // The person's first name FirstName *uint16 `pkl:"firstName"` // The person's last name LastName map[string]*uint32 `pkl:"lastName"` Things map[int]struct{} `pkl:"things"` }
A Person!
func (PersonImpl) GetBike ¶
func (rcv PersonImpl) GetBike() Bike
func (PersonImpl) GetFirstName ¶
func (rcv PersonImpl) GetFirstName() *uint16
The person's first name
func (PersonImpl) GetIsAlive ¶
func (rcv PersonImpl) GetIsAlive() bool
func (PersonImpl) GetLastName ¶
func (rcv PersonImpl) GetLastName() map[string]*uint32
The person's last name
func (PersonImpl) GetThings ¶
func (rcv PersonImpl) GetThings() map[int]struct{}
type ThisPerson ¶
type ThisPerson interface { Person GetMyself() ThisPerson GetSomeoneElse() Person }
type ThisPersonImpl ¶
type ThisPersonImpl struct { PersonImpl Myself ThisPerson `pkl:"myself"` SomeoneElse Person `pkl:"someoneElse"` }
func (ThisPersonImpl) GetMyself ¶
func (rcv ThisPersonImpl) GetMyself() ThisPerson
func (ThisPersonImpl) GetSomeoneElse ¶
func (rcv ThisPersonImpl) GetSomeoneElse() Person
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
Code generated from Pkl module `org.foo.BugHolder`.
|
Code generated from Pkl module `org.foo.BugHolder`. |
Code generated from Pkl module `org.foo.BugHolder`.
|
Code generated from Pkl module `org.foo.BugHolder`. |