jskv

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func NewTranslationFile

func NewTranslationFile(src *File) *File

func Parse

func Parse(data []byte) (*File, error)

func ParseFile

func ParseFile(path string) (*File, error)

func (*File) Keys

func (f *File) Keys() []string

func (*File) Marshal

func (f *File) Marshal() ([]byte, error)

func (*File) Set

func (f *File) Set(key, value string) bool

func (*File) SourceValues

func (f *File) SourceValues() map[string]string

func (*File) Stats

func (f *File) Stats() (int, int, float64)

func (*File) UntranslatedKeys

func (f *File) UntranslatedKeys() []string

func (*File) WriteFile

func (f *File) WriteFile(path string) error

Jump to

Keyboard shortcuts

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