internal

package
v0.0.0-...-fa5acfa Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildDirStruct

func BuildDirStruct(base string) error

func Copy

func Copy(srcFile, dstFile string) error

func CopyDirectory

func CopyDirectory(scrDir, dest string) error
func CopySymLink(source, dest string) error

func CreateIfNotExists

func CreateIfNotExists(dir string, perm os.FileMode) error

func Exists

func Exists(filePath string) bool

Types

type App

type App struct {
	Email    string
	Twitter  string
	LinkedIn string
	GitHub   string
	Name     string
	Tracking string
}

func (*App) Build

func (app *App) Build() error

type Index

type Index struct {
	Created bool
	Entries []IndexEntry
	Title   string
	Path    string
}

type IndexEntry

type IndexEntry struct {
	Title   string
	Created time.Time
	Path    string
}

type PageData

type PageData struct {
	Title    string
	Content  template.HTML
	Email    string
	Twitter  string
	LinkedIn string
	GitHub   string
	Name     string
	Tracking string
}

Jump to

Keyboard shortcuts

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