types

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 3 Imported by: 3

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 Suppress

type Suppress struct {
	Len Boolean
	Nil Boolean
	Err Boolean
}

func (Suppress) AllTrue

func (s Suppress) AllTrue() bool

func (Suppress) Clone

func (s Suppress) Clone() Suppress

func (*Suppress) UpdateFromComment

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

func (*Suppress) UpdateFromFile

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

Jump to

Keyboard shortcuts

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