format

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 16 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VarBoolUseStdin describes whether to use stdin or not.
	VarBoolUseStdin bool
	// VarBoolSkipCheckDeclare describes whether to skip.
	VarBoolSkipCheckDeclare bool
	// VarStringDir describes the directory.
	VarStringDir string
	// VarBoolIgnore describes whether to ignore.
	VarBoolIgnore bool
)

Functions

func ApiFormatByPath

func ApiFormatByPath(apiFilePath string, skipCheckDeclare bool) error

ApiFormatByPath format api from file path

func GoFormatApi

func GoFormatApi(_ *cobra.Command, _ []string) error

GoFormatApi format api file

Types

This section is empty.

Jump to

Keyboard shortcuts

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