appdir

package module
v0.0.0-...-a0ef196 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 41

Documentation

Overview

package appdir provides a facility for determining the system-dependent paths for application resources.

+build !windows,!darwin

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func General

func General(app string) string

General returns the path for general aplication resources (e.g. ~/Library/<App>).

func InHomeDir

func InHomeDir(filename string) string

func Logs

func Logs(app string) string

Logs returns the path for log files (e.g. ~/Library/Logs/<App>).

func SetHomeDir

func SetHomeDir(dir string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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