storage

package
v0.0.0-...-622f0a9 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddURL

func AddURL(name string, dynamic bool, pattern string, beautify bool)

func SaveFile

func SaveFile(id uuid.UUID, body []byte, url string, repo git.Worktree, beautify bool) bool

Types

type TrackEntries

type TrackEntries struct {
	Urls []TrackEntry
}

func GetEntries

func GetEntries() *TrackEntries

type TrackEntry

type TrackEntry struct {
	ID       uuid.UUID `json:"id"`
	URL      string    `json:"url"`
	Dynamic  bool      `json:"dynamic"`
	Pattern  string    `json:"pattern"`
	Beautify bool      `json:"beautify"`
}

Jump to

Keyboard shortcuts

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