name

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 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
	Form      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