swap

package
v1.300028.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const SectionKey_Swap = "swap"

Variables

View Source
var ChildRule = map[string]translator.Rule{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r translator.Rule)

Types

type Swap

type Swap struct {
}

func (*Swap) ApplyRule

func (s *Swap) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

Jump to

Keyboard shortcuts

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