properties

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 4

README

properties

Golang library to locate desktop app properties

data := properties.Locate("AwesomeCompany")
data.SaveJsonFile("SuperApp", "mega.props", props)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppDataDir

func AppDataDir(companyName, appName string) string

Types

type CompanyData

type CompanyData interface {
	MakeDir(appName string) (string, error)

	GetDir(appName string) string

	LoadJsonFile(appName, fileName string, v interface{}) (bool, error)

	SaveJsonFile(appName, fileName string, v interface{}) error
}

func Locate

func Locate(companyName string) CompanyData

Jump to

Keyboard shortcuts

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