fibercli

package
v0.0.0-...-31109ae Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const BoilerPlateRepo = "https://github.com/gofiber/boilerplate"

Variables

This section is empty.

Functions

func Clone

func Clone(path, repo string) error

Git clone repository

func CurrentVersion

func CurrentVersion(path string) (string, error)

Lookup current Fiber version, if available

func MainTemplate

func MainTemplate() []byte

func ReleaseVersion

func ReleaseVersion() (string, error)

Lookup Fiber latest release version

Types

type New

type New struct {
	Name string
	Path string
	Type TemplateType
}

func (New) Create

func (n New) Create() error

Creates new project based on template

type TemplateType

type TemplateType int
const (
	TemplateBasic TemplateType = iota
	TemplateComplex
)

func (TemplateType) String

func (t TemplateType) String() string

Jump to

Keyboard shortcuts

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