types

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Boolean

type Boolean bool

Boolean is a bool, implementing the flag.Value interface, to be used as a flag var.

func (*Boolean) Set

func (b *Boolean) Set(value string) error

func (Boolean) String

func (b Boolean) String() string

type Config added in v0.9.0

type Config struct {
	SuppressLen            Boolean
	SuppressNil            Boolean
	SuppressErr            Boolean
	SuppressCompare        Boolean
	SuppressAsync          Boolean
	ForbidFocus            Boolean
	SuppressTypeCompare    Boolean
	AllowHaveLen0          Boolean
	ForceExpectTo          Boolean
	ValidateAsyncIntervals Boolean
	ForbidSpecPollution    Boolean
}

func (*Config) AllTrue added in v0.9.0

func (s *Config) AllTrue() bool

func (*Config) Clone added in v0.9.0

func (s *Config) Clone() Config

func (*Config) UpdateFromComment added in v0.9.0

func (s *Config) UpdateFromComment(commentGroup []*ast.CommentGroup)

func (*Config) UpdateFromFile added in v0.9.0

func (s *Config) UpdateFromFile(cm ast.CommentMap)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL