partial

package
v0.0.0-...-27d85d3 Latest Latest
Warning

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

Go to latest
Published: Apr 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 Partial

type Partial[T any] struct {
	FieldMask  *bitset.BitSet
	FieldNames []string
	Value      T
}

func NewPartial

func NewPartial[T any](value T, fieldMask *bitset.BitSet, fieldNames []string) Partial[T]

func (Partial[T]) MarshalJSON

func (x Partial[T]) MarshalJSON() (_ []byte, err error)

func (Partial[T]) MustMarshalJSON

func (x Partial[T]) MustMarshalJSON() []byte

Jump to

Keyboard shortcuts

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