-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Mark Ayers <[email protected]>
- Loading branch information
Showing
11 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Created by https://www.toptal.com/developers/gitignore/api/go | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=go | ||
|
||
### Go ### | ||
# If you prefer the allow list template instead of the deny list, see community template: | ||
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore | ||
# | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
# Test binary, built with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Dependency directories (remove the comment below to include it) | ||
# vendor/ | ||
|
||
# Go workspace file | ||
go.work | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/go | ||
coverage.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package aria |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package aria_test | ||
|
||
func EmptyTest() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/philoserf/go/aria | ||
|
||
go 1.21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# https://taskfile.dev | ||
version: '3' | ||
tasks: | ||
default: | ||
vars: | ||
COVER_NAME: coverage | ||
COVER_FILE: "{{.COVER_NAME}}.out" | ||
COVER_HTML: "{{.COVER_NAME}}.html" | ||
cmds: | ||
- go vet ./... | ||
- go fmt ./... | ||
- go test -v -race -coverprofile={{.COVER_FILE}} --covermode=atomic ./... | ||
- go tool cover -html={{.COVER_FILE}} -o {{.COVER_HTML}} | ||
next: | ||
cmds: | ||
- go get -u ./... | ||
- go mod tidy | ||
- gofumpt -e -l -w -extra . | ||
- golangci-lint run --fix . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# https://taskfile.dev | ||
version: '3' | ||
tasks: | ||
default: | ||
vars: | ||
COVER_NAME: coverage | ||
COVER_FILE: "{{.COVER_NAME}}.out" | ||
COVER_HTML: "{{.COVER_NAME}}.html" | ||
cmds: | ||
- go vet ./... | ||
- go fmt ./... | ||
- go test -v -race -coverprofile={{.COVER_FILE}} --covermode=atomic ./... | ||
- go tool cover -html={{.COVER_FILE}} -o {{.COVER_HTML}} | ||
next: | ||
cmds: | ||
- go get -u ./... | ||
- go mod tidy | ||
- gofumpt -e -l -w -extra . | ||
- golangci-lint run --fix . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/philoserf/go/traveller | ||
|
||
go 1.21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# https://taskfile.dev | ||
version: '3' | ||
tasks: | ||
default: | ||
vars: | ||
COVER_NAME: coverage | ||
COVER_FILE: "{{.COVER_NAME}}.out" | ||
COVER_HTML: "{{.COVER_NAME}}.html" | ||
cmds: | ||
- go vet ./... | ||
- go fmt ./... | ||
- go test -v -race -coverprofile={{.COVER_FILE}} --covermode=atomic ./... | ||
- go tool cover -html={{.COVER_FILE}} -o {{.COVER_HTML}} | ||
next: | ||
cmds: | ||
- go get -u ./... | ||
- go mod tidy | ||
- gofumpt -e -l -w -extra . | ||
- golangci-lint run --fix . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package traveller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package traveller_test | ||
|
||
func EmptyTest() {} |