value

package
v0.0.0-...-6f95374 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter struct {
	Name  string
	Value string // 現状文字列のみ対応 ジェネリクス対応したかったが関数の引数に渡し方が不明なので一旦文字列
}

func NewFilter

func NewFilter(
	name string,
	value string,
) Filter

type Index

type Index int

Index インデックス.

func NewIndex

func NewIndex(value int) (Index, error)

NewIndex インデックスファクトリー関数.

func (Index) Int

func (i Index) Int() int

Int int型を取得する.

type NextToken

type NextToken string

ネクストトークン.

func CreateNextTokenFromIndex

func CreateNextTokenFromIndex(index Index) NextToken

CreateNextTokenFromIndex インデックスからネクストトークンを作成する.

func NewNextToken

func NewNextToken(value string) NextToken

NewNextToken ネクストトークンを生成する.

func (NextToken) CreateNextToken

func (t NextToken) CreateNextToken(size Size) NextToken

CreateNextToken ネクストトークンを作成する.

func (NextToken) String

func (t NextToken) String() string

String ネクストトークンの文字列を提供する.

func (NextToken) ToIndex

func (t NextToken) ToIndex() Index

ToIndex ネクストトークンからインデックスを作成する.

type Size

type Size int

Size サイズ.

func NewSize

func NewSize(value int) (Size, error)

NewSize サイズファクトリー関数.

func (Size) Int

func (s Size) Int() int

Int int型を取得する.

Jump to

Keyboard shortcuts

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