Application

package
v0.0.0-...-893d94a Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnv

func GetEnv(key, defaultValue string) string

func InitEnv

func InitEnv()

Types

type Redirect

type Redirect struct {
	From string `json:"from"`
	To   string `json:"to"`
}

type Schema

type Schema struct {
	Redirects []Redirect `json:"redirects"`
}

func NewSchema

func NewSchema() *Schema

Jump to

Keyboard shortcuts

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