Documentation
¶
Overview ¶
package ccc contains utility types and functions
Index ¶
- Variables
- func Must[T any](value T, err error) T
- func Ptr[T any](t T) *T
- type JSONMap
- type NullUUID
- func (u *NullUUID) DecodeSpanner(val any) error
- func (u NullUUID) EncodeSpanner() (any, error)
- func (u NullUUID) IsNil() bool
- func (u NullUUID) MarshalJSON() ([]byte, error)
- func (u NullUUID) MarshalText() ([]byte, error)
- func (u *NullUUID) UnmarshalJSON(data []byte) error
- func (u *NullUUID) UnmarshalText(text []byte) error
- type UUID
Constants ¶
This section is empty.
Variables ¶
View Source
var NilUUID = UUID{}
Functions ¶
Types ¶
type JSONMap ¶
func (*JSONMap) UnmarshalJSON ¶
type NullUUID ¶
func NewNullUUID ¶
func NullUUIDFromString ¶
func NullUUIDFromUUID ¶
func (*NullUUID) DecodeSpanner ¶
func (NullUUID) EncodeSpanner ¶
func (NullUUID) MarshalJSON ¶ added in v0.2.3
func (NullUUID) MarshalText ¶ added in v0.2.3
func (*NullUUID) UnmarshalJSON ¶ added in v0.2.3
func (*NullUUID) UnmarshalText ¶
type UUID ¶
func UUIDFromString ¶
func (*UUID) DecodeSpanner ¶
func (UUID) EncodeSpanner ¶
func (UUID) MarshalJSON ¶ added in v0.2.3
func (UUID) MarshalText ¶ added in v0.2.3
func (*UUID) UnmarshalJSON ¶ added in v0.2.3
func (*UUID) UnmarshalText ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
accesstypes
module
|
|
|
cache
module
|
|
|
ccclint
module
|
|
|
columnset
module
|
|
|
lint
module
|
|
|
linters
|
|
|
otelspanname
module
|
|
|
middleware
module
|
|
|
patchset
module
|
|
|
pkg
module
|
|
|
resource
module
|
|
|
resourceset
module
|
|
|
resourcestore
module
|
|
|
securehash
module
|
|
|
sns
module
|
|
|
tracer
module
|
Click to show internal directories.
Click to hide internal directories.