archiver

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeFilePath

func MakeFilePath(
	filename string, extension string, directory string, now time.Time) (string, error)

MakeFilePath takes a filename, extension, directory and time and constructs a filepath string formated like:

directory/2016-08-23/filename-2016-08-23T18-05-00.ext

If the directory doesn't exist, it is created.

Types

This section is empty.

Jump to

Keyboard shortcuts

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