appDir

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

README

go-appdir

Simple module to get the operating system's folder for storing application data.

Usage

package main

import (
	"fmt"

	appDir "git.brokenmouse.studio/bms/go-appdir"
)

func main() {
	fmt.Println(appDir.Get())
}

Example Results:

  • Linux: /home/.../.config
  • Mac: /Users/.../Library/Application Support
  • Windows: C:\Users\...\AppData\Roaming

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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