helper

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BASE_URL string
View Source
var DONE_PLATE string = `
Successfully created %s project %s

cd %s
`

Functions

func GetProjectName

func GetProjectName() string

func Init

func Init()

func InitGit

func InitGit(projectDir string) error

func LogMe

func LogMe(err error)

Types

type FileData

type FileData struct {
	Name     string `json:"name"`
	Contents string `json:"contents"`
	Dir      string `json:"dir"`
}

type ProjectData

type ProjectData struct {
	Files []FileData `json:"files"`
}

Jump to

Keyboard shortcuts

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