Versions in this module Expand all Collapse all v1 v1.0.1 Feb 20, 2024 Changes in this version + type Option struct + Float *float64 + Int *int64 + Label string + Str *string + func NewFloatOption(v float64, label string) *Option + func NewIntOption(v int64, label string) *Option + func NewIntStringerOption(i int64, v string, label string) *Option + func NewStrOption(v string, label string) *Option + func (o Option) Value() interface{} + type Options []Option + func (o Options) Len() int + func (o Options) Less(i, j int) bool + func (o Options) Swap(i, j int) + func (o Options) Values() []interface{} + type Scanner struct + func NewScanner(pkg *packagesx.Package) *Scanner + func (s *Scanner) Options(typeName *types.TypeName) (Options, bool)