Documentation
¶
Index ¶
- func Error[T any](t T, err error) T
- func ErrorCode[T any](t T, err error) string
- type Create
- type CreateWithDependentIds
- type Delete
- type Detach
- type DetachMap
- type ICreate
- type ICreateWithDependentIds
- type IDeleteInterface
- type IDetachInterface
- type IParamsKV
- type ISliceInterface
- type Ids
- type IdsKV
- type Map
- type Params
- type Result
- type Slice
- type Strings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateWithDependentIds ¶
type CreateWithDependentIds[T ICreateWithDependentIds] struct { Data []T }
type Delete ¶
type Delete[T IDeleteInterface, S any] struct { Data []T }
type Detach ¶
type Detach[T IDetachInterface, S any] struct { Data []T }
type DetachMap ¶
type DetachMap[T IDetachInterface, S any] struct { Data map[string]T }
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type ICreate ¶
type ICreate interface {
GetName() string
}
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type ICreateWithDependentIds ¶
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type IDeleteInterface ¶
type IDeleteInterface interface{}
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type IDetachInterface ¶
type IDetachInterface interface{}
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type IParamsKV ¶
type IParamsKV interface{}
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type ISliceInterface ¶
type ISliceInterface interface{}
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type IdsKV ¶
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type Map ¶
type Map[K comparable, V string] struct { Data map[K]V }
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
type Slice ¶
type Slice[T ISliceInterface] struct { Data []T }