Skip to content

Commit

Permalink
Merge pull request #3 from foomo/feature/cleanup-delve
Browse files Browse the repository at this point in the history
Feature/cleanup delve
  • Loading branch information
runz0rd authored May 20, 2022
2 parents 5a1b7c2 + 5f44c50 commit 2308910
Show file tree
Hide file tree
Showing 48 changed files with 1,579 additions and 1,190 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.18
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
# vendor/

.todo
.idea/

bin/
1 change: 0 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ builds:
ldflags:
- -s -w -X github.com/foomo/gograpple/cmd/actions.version={{.Version}}
goos:
- windows
- darwin
- linux
goarch:
Expand Down
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
pack-data:
go-bindata -o bindata/bindata.go -pkg bindata the-hook/...

build: pack-data
build:
go build -o bin/gograpple cmd/main.go

install: pack-data
install:
go build -o /usr/local/bin/gograpple cmd/main.go

test:
Expand Down
Binary file added app
Binary file not shown.
260 changes: 0 additions & 260 deletions bindata/bindata.go

This file was deleted.

4 changes: 2 additions & 2 deletions cmd/actions/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type HostPort struct {
Port int
}

func newHostPort(host string, port int) *HostPort {
func NewHostPort(host string, port int) *HostPort {
addr, err := gograpple.CheckTCPConnection(host, port)
if err == nil {
host = addr.IP.String()
Expand Down Expand Up @@ -56,7 +56,7 @@ type StringList struct {
items []string
}

func newStringList(separator string) *StringList {
func NewStringList(separator string) *StringList {
return &StringList{separator: separator}
}

Expand Down
Loading

0 comments on commit 2308910

Please sign in to comment.