Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 1.89 KB

README.md

File metadata and controls

71 lines (53 loc) · 1.89 KB

GitHub GitHub CI Status

goinit

Generate initial configuration files for Go.

example usage goinit command

Here are generated by this cli tool.

Required

  • Go 1.16~

Installation

$ go install github.com/mmmommm/goinit@latest

MacOS

If you want to install on MacOS, you can use Homebrew.

brew install mmmommm/tap/goinit

upgrade

brew upgrade mmmommm/tap/goinit

Windows, Linux etc...

Download the binary from here.

Usage

$ goinit ${directory_name}

$ goinit example

Option

$ goinit ${directory_name} -m ${package_name}

$ goinit example -m github.com/mmmommm/example

this option run go mod init github.com/mmmommm/example

After run goinit

go run main.go
curl localhost:8080/Go

And then response this sentence.

Hi there, I love Go!

open LICENSE file and rewrite ${your_account_name}

Copyright (c) 2021 ${your_account_name}`