res

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: MIT Imports: 5 Imported by: 1

README

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

type Root struct {
	Path string
}

func Base

func Base(path string) *Root

Base sets base data path.

func BaseExec

func BaseExec() *Root

Base on path name for the executable that started the current process.

func (*Root) Join

func (r *Root) Join(name ...string) string

Join joins any number of path elements into a single path, adding a Separator if necessary.

func (*Root) Make

func (r *Root) Make(name ...string)

Make ensures the directory structure. If folder doesn’t exist, create it.

Jump to

Keyboard shortcuts

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