skeleton

command module
v0.0.0-...-3660863 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: MIT Imports: 9 Imported by: 0

README

skeleton

skeleton is create skeleton codes for golang.org/x/tools/go/analysis.

Insall

$ go get -u github.com/tenntenn/gosa/skeleton

How to use

Create skeleton codes in GOPATH
$ skeleton pkgname
pkgname
├── cmd
│   └── pkgname
│       └── main.go
├── pkgname.go
├── pkgname_test.go
└── testdata
    └── src
        └── a
            └── a.go
Create skeleton codes with import path
$ skeleton -path="github.com/tenntenn/pkgname"
pkgname
├── pkgname.go
├── pkgname_test.go
└── testdata
    └── src
        └── a
            └── a.go
Create skeleton codes without cmd directory
$ skeleton -cmd=false pkgname
pkgname
├── pkgname.go
├── pkgname_test.go
└── testdata
    └── src
        └── a
            └── a.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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