Documentation ¶
Overview ¶
Code generated by "fmgo"; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
Run() string
}
func NewSimpleStruct ¶
func NewSimpleStructOptions ¶
func NewSimpleStructOptions(opts ...SimpleStructOption) Interface
type SimpleStruct ¶
type SimpleStruct struct {
// contains filtered or unexported fields
}
skip: go:generate ./fm5 -t SimpleStruct -fo -r Interface
func (*SimpleStruct) Run ¶
func (s *SimpleStruct) Run() string
type SimpleStructOption ¶
type SimpleStructOption func(*SimpleStruct)
func WithId ¶
func WithId(id string) SimpleStructOption
func WithName ¶
func WithName(name string) SimpleStructOption
Click to show internal directories.
Click to hide internal directories.