Add initial structure

Signed-off-by: Julian Strobl <jmastr@mailbox.org>
This commit is contained in:
Julian Strobl 2023-03-01 14:22:31 +01:00
parent cbbef69a70
commit 761ee6792c
No known key found for this signature in database
GPG Key ID: E0A8F9AD733499A7
5 changed files with 45 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
planetmintd

21
Makefile Normal file
View File

@ -0,0 +1,21 @@
#! /usr/bin/make -f
## vet: Run go vet.
vet:
@echo Running go vet...
@go vet ./...
## fmt: Run go fmt.
fmt:
@echo Running go fmt...
@go fmt ./...
## build: Run go build.
build: vet fmt
@echo Running go build...
@go build -v ./...
## install: Run go install.
install: vet fmt
@echo Running go install...
@go install ./...

13
README.md Normal file
View File

@ -0,0 +1,13 @@
# Planetmint Daemon in Go
## Build
```bash
$ make build
```
## Install
```bash
$ make install
```

7
cmd/planetmintd/main.go Normal file
View File

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Welcome to Planetmint Daemon!")
}

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module github.com/planetmint/planetmint-go
go 1.19