flags

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeFlag

type TimeFlag struct {
	// contains filtered or unexported fields
}

func NewTimeFlag

func NewTimeFlag(target *time.Time, format string) *TimeFlag

func (*TimeFlag) Set

func (t *TimeFlag) Set(timeStr string) error

Set implements pflag.Value.

func (*TimeFlag) String

func (t *TimeFlag) String() string

String implements pflag.Value.

func (*TimeFlag) Type

func (t *TimeFlag) Type() string

Type implements pflag.Value.

Jump to

Keyboard shortcuts

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