mo_string

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionalString

type OptionalString interface {
	String
	IsExists() bool
}

func NewOptional

func NewOptional(str string) OptionalString

type SelectString

type SelectString interface {
	String
	Options() []string
	SetOptions(selected string, opts ...string)
	SetSelect(selected string)
	IsValid() bool
}

func NewSelect

func NewSelect() SelectString

type String

type String interface {
	Value() string
}

Jump to

Keyboard shortcuts

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