internal

package
v0.30.1-rc01 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareAsJson added in v0.5.3

func CompareAsJson[T any, T2 any](a T, a2 T2) (areEqual bool, err error)

func GetChecksum added in v0.20.0

func GetChecksum(idWithoutChecksum string) (string, error)

GetChecksum calculates the checksum of a (Netzlokation/Technische Ressource/Steuerbare Ressource) ID for a given 10-digit ID string (that does not contain a without checksum yet)

func Ptr

func Ptr[S any](s S) *S

Types

type TimeOnly added in v0.21.0

type TimeOnly time.Time

func (TimeOnly) MarshalJSON added in v0.21.0

func (t TimeOnly) MarshalJSON() ([]byte, error)

func (*TimeOnly) UnmarshalJSON added in v0.21.0

func (t *TimeOnly) UnmarshalJSON(data []byte) error

Directories

Path Synopsis
Package jsonfieldnames contains a function to extract JSON field names from a value.
Package jsonfieldnames contains a function to extract JSON field names from a value.

Jump to

Keyboard shortcuts

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