go-start

command module
v0.0.0-...-6fed5b8 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

CLI tool for creating go project and package skeleton

Creates new Golang

Project:
  • Name restriction: same case, at least 2 symbols, no special symbols.
Creates:
  1. new directory ( 'newproj' in both cases )
  2. go mod init (if long name provided, with long otherwise short)
  3. creates first test file from template.
  4. :
 inits git repo
 git add .
 git commit -m 'first init'

Package:
  • Same name restrictions (only short name).
Creates:
  1. new directory
  2. test file
  • You should be able to run the test that should fail :)

Installaton

go install .

or for smaller executable

go install -ldflags '-w' . # removing debuging info

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package config contains configuration
Package config contains configuration
Package create data and functions handles creation
Package create data and functions handles creation
Package project commands
Package project commands

Jump to

Keyboard shortcuts

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