localinterface

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package localinterface defines some interfaces for converting usage.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBool

type IBool interface {
	Bool() bool
}

IBool is used for type assert api for Bool().

type IBytes

type IBytes interface {
	Bytes() []byte
}

IBytes is used for type assert api for Bytes().

type IError

type IError interface {
	Error() string
}

IError is used for type assert api for Error().

type IFloat32

type IFloat32 interface {
	Float32() float32
}

IFloat32 is used for type assert api for Float32().

type IFloat64

type IFloat64 interface {
	Float64() float64
}

IFloat64 is used for type assert api for Float64().

type IFloats

type IFloats interface {
	Floats() []float64
}

IFloats is used for type assert api for Floats().

type IGTime

type IGTime interface {
	GTime(format ...string) *gtime.Time
}

IGTime is the interface for gtime.Time converting.

type IInt64

type IInt64 interface {
	Int64() int64
}

IInt64 is used for type assert api for Int64().

type IInterface

type IInterface interface {
	Interface() interface{}
}

IInterface is used for type assert api for Interface().

type IInterfaces

type IInterfaces interface {
	Interfaces() []interface{}
}

IInterfaces is used for type assert api for Interfaces().

type IInts

type IInts interface {
	Ints() []int
}

IInts is used for type assert api for Ints().

type IMapStrAny

type IMapStrAny interface {
	MapStrAny() map[string]interface{}
}

IMapStrAny is the interface support for converting struct parameter to map.

type ISet

type ISet interface {
	Set(value interface{}) (old interface{})
}

ISet is the interface for custom value assignment.

type IString

type IString interface {
	String() string
}

IString is used for type assert api for String().

type IStrings

type IStrings interface {
	Strings() []string
}

IStrings is used for type assert api for Strings().

type IUint64

type IUint64 interface {
	Uint64() uint64
}

IUint64 is used for type assert api for Uint64().

type IUints

type IUints interface {
	Uints() []uint
}

IUints is used for type assert api for Uints().

type IUnmarshalJSON

type IUnmarshalJSON interface {
	UnmarshalJSON(b []byte) error
}

IUnmarshalJSON is the interface for custom defined types customizing value assignment. Note that only pointer can implement interface IUnmarshalJSON.

type IUnmarshalText

type IUnmarshalText interface {
	UnmarshalText(text []byte) error
}

IUnmarshalText is the interface for custom defined types customizing value assignment. Note that only pointer can implement interface IUnmarshalText.

type IUnmarshalValue

type IUnmarshalValue interface {
	UnmarshalValue(interface{}) error
}

IUnmarshalValue is the interface for custom defined types customizing value assignment. Note that only pointer can implement interface IUnmarshalValue.

type IVal

type IVal interface {
	Val() interface{}
}

IVal is used for type assert api for String().

Jump to

Keyboard shortcuts

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