config

package
v0.0.0-...-c60d121 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPackageNameFromArgs

func GetPackageNameFromArgs(args []string) (string, error)

GetPackageNameFromArgs take the first index of args as package or get the packagename from config file

func WriteConfig

func WriteConfig(data Config)

Types

type Config

type Config struct {
	PackageName string `json:"packageName"`
}

Config that exported to json file

func ReadConfig

func ReadConfig() (Config, error)

Jump to

Keyboard shortcuts

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