internal

package
v0.0.0-...-8fa97d6 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStandardChangeTypes

func GetStandardChangeTypes() map[string]int

func IsEntryLine

func IsEntryLine(line string) bool

func IsSectionLine

func IsSectionLine(line string) bool

func IsTitleLine

func IsTitleLine(line string) bool

func IsVersionLine

func IsVersionLine(line string) bool

func ParseEntryLine

func ParseEntryLine(line string) string

func ParseSectionLine

func ParseSectionLine(line string) string

func ParseTitleLine

func ParseTitleLine(line string) string

func ParseVersionLine

func ParseVersionLine(line string) (string, *time.Time, error)

Types

type SortedMap

type SortedMap[K cmp.Ordered, V any] struct {
	// contains filtered or unexported fields
}

func NewEmptyMap

func NewEmptyMap[K cmp.Ordered, V any]() *SortedMap[K, V]

func NewSortedMap

func NewSortedMap[K cmp.Ordered, V any](keys []K, values map[K]V) *SortedMap[K, V]

func (*SortedMap[K, V]) Del

func (sm *SortedMap[K, V]) Del(key K) error

func (*SortedMap[K, V]) Get

func (sm *SortedMap[K, V]) Get(key K) (V, bool)

func (*SortedMap[K, V]) Has

func (sm *SortedMap[K, V]) Has(key K) bool

func (*SortedMap[K, V]) Keys

func (sm *SortedMap[K, V]) Keys() []K

func (*SortedMap[K, V]) Len

func (sm *SortedMap[K, V]) Len() int

func (*SortedMap[K, V]) MarshalJSON

func (sm *SortedMap[K, V]) MarshalJSON() ([]byte, error)

MarshalJSON Re implement the JSON serialization to ensure JSON serialization respect ordering

func (*SortedMap[K, V]) Set

func (sm *SortedMap[K, V]) Set(key K, val V) error

Jump to

Keyboard shortcuts

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