Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rumpl/mod
A better `go mod init`
https://github.com/rumpl/mod
Last synced: 15 days ago
JSON representation
A better `go mod init`
- Host: GitHub
- URL: https://github.com/rumpl/mod
- Owner: rumpl
- Created: 2020-05-20T18:40:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-21T13:39:06.000Z (almost 3 years ago)
- Last Synced: 2024-11-24T20:32:31.966Z (3 months ago)
- Language: Go
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mod
![ci](https://github.com/rumpl/mod/workflows/ci/badge.svg)
[![codecov.io](https://codecov.io/github/rumpl/mod/coverage.svg?branch=master)](https://codecov.io/github/rumpl/mod?branch=master)A better `go mod init`.
This little tool will help you initialize a go project with go modules. This is what it does:
* initializes go with modules
* creates a simple Makefile
* creates a "Hello World" main.go file
* creates a README file
* initializes a git repository## Intallation
```
go get -u github.com/rumpl/mod
```## Usage
```
$ mod init awesome-project
All done, happy hacking!$ ls -l awesome-project
total 32
-rw-r--r-- 1 djordjelukic staff 41 May 20 20:38 Makefile
-rw-r--r-- 1 djordjelukic staff 7 May 20 20:38 README.md
-rw-r--r-- 1 djordjelukic staff 38 May 20 20:38 go.mod
-rw-r--r-- 1 djordjelukic staff 72 May 20 20:38 main.go
```## License
[MIT](https://rumpl.mit-license.org)