Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vikyd/gomod-main

Simple Golang main program
https://github.com/vikyd/gomod-main

Last synced: 2 days ago
JSON representation

Simple Golang main program

Awesome Lists containing this project

README

        

# gomod-main

An extreme simple Golang main program.

# Run

```sh
# Download me

# Run:
go run main.go
# Output: main

# Build:
go build
```

# go get

If want to test what happens when `go get` a main library in a go mod project:

```sh
go get -x github.com/vikyd/gomod-main
```