name

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name struct {
	File      string
	Strategy  string
	Omitempty bool
}

Name wraps config properties for name command

func (Name) Exec

func (receiver Name) Exec()

Exec rewrites the json tag of each field of all structs in the file as snake case or lower camel case. Unexported or ignored fields will be skipped.

Jump to

Keyboard shortcuts

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