Skip to content

Commit

Permalink
✨ Add hubspot plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
julien040 committed Oct 27, 2024
1 parent 1ad6de1 commit afed809
Show file tree
Hide file tree
Showing 11 changed files with 3,365 additions and 0 deletions.
18 changes: 18 additions & 0 deletions plugins/hubspot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

# Go template downloaded with gut
*.exe
*.exe~
*.dll
*.so
*.dylib
*.test
*.out
go.work
.gut

# Dev files
*.log
devManifest.*
.init

dist/
34 changes: 34 additions & 0 deletions plugins/hubspot/.goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

version: 2

before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy

builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
binary: hubspot
id: anyquery
ldflags: "-s -w"
flags: # To ensure reproducible builds
- -trimpath

goarch:
- amd64
- arm64

archives:
- format: binary

changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
13 changes: 13 additions & 0 deletions plugins/hubspot/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

files := $(wildcard *.go)

all: $(files)
go build -o hubspot.out $(files)

prod: $(files)
go build -o hubspot.out -ldflags "-s -w" $(files)

clean:
rm -f hubspot.out

.PHONY: all clean
2,426 changes: 2,426 additions & 0 deletions plugins/hubspot/README.md

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions plugins/hubspot/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
module github.com/julien040/anyquery/plugins/hubspot

go 1.23.2

require (
github.com/go-resty/resty/v2 v2.15.3
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/julien040/anyquery v0.1.3
)

require (
github.com/adrg/xdg v0.4.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/dgraph-io/badger/v4 v4.3.0 // indirect
github.com/dgraph-io/ristretto v0.1.2-0.20240116140435-c67e07994f91 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/flatbuffers v1.12.1 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-plugin v1.6.2 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/klauspost/compress v1.17.9 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
go.opencensus.io v0.24.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
google.golang.org/grpc v1.67.1 // indirect
google.golang.org/protobuf v1.35.1 // indirect
)
201 changes: 201 additions & 0 deletions plugins/hubspot/go.sum

Large diffs are not rendered by default.

Loading

0 comments on commit afed809

Please sign in to comment.