patchset

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

package patchset provides types to store json patch set mapping to struct fields.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PatchSet

type PatchSet struct {
	// contains filtered or unexported fields
}

func NewPatchSet

func NewPatchSet(data map[string]any) *PatchSet

func (*PatchSet) Data

func (p *PatchSet) Data() map[string]any

func (*PatchSet) Len

func (p *PatchSet) Len() int

func (*PatchSet) Set

func (p *PatchSet) Set(field string, value any)

func (*PatchSet) StructFields

func (p *PatchSet) StructFields() []string

Jump to

Keyboard shortcuts

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