Skip to content

Commit afed809

Browse files
committed
✨ Add hubspot plugin
1 parent 1ad6de1 commit afed809

File tree

11 files changed

+3365
-0
lines changed

11 files changed

+3365
-0
lines changed

plugins/hubspot/.gitignore

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
# Go template downloaded with gut
3+
*.exe
4+
*.exe~
5+
*.dll
6+
*.so
7+
*.dylib
8+
*.test
9+
*.out
10+
go.work
11+
.gut
12+
13+
# Dev files
14+
*.log
15+
devManifest.*
16+
.init
17+
18+
dist/

plugins/hubspot/.goreleaser.yaml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
version: 2
3+
4+
before:
5+
hooks:
6+
# You may remove this if you don't use go modules.
7+
- go mod tidy
8+
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
goos:
13+
- linux
14+
- windows
15+
- darwin
16+
binary: hubspot
17+
id: anyquery
18+
ldflags: "-s -w"
19+
flags: # To ensure reproducible builds
20+
- -trimpath
21+
22+
goarch:
23+
- amd64
24+
- arm64
25+
26+
archives:
27+
- format: binary
28+
29+
changelog:
30+
sort: asc
31+
filters:
32+
exclude:
33+
- "^docs:"
34+
- "^test:"

plugins/hubspot/Makefile

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
files := $(wildcard *.go)
3+
4+
all: $(files)
5+
go build -o hubspot.out $(files)
6+
7+
prod: $(files)
8+
go build -o hubspot.out -ldflags "-s -w" $(files)
9+
10+
clean:
11+
rm -f hubspot.out
12+
13+
.PHONY: all clean

plugins/hubspot/README.md

+2,426
Large diffs are not rendered by default.

plugins/hubspot/go.mod

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
module github.com/julien040/anyquery/plugins/hubspot
2+
3+
go 1.23.2
4+
5+
require (
6+
github.com/go-resty/resty/v2 v2.15.3
7+
github.com/hashicorp/go-retryablehttp v0.7.7
8+
github.com/julien040/anyquery v0.1.3
9+
)
10+
11+
require (
12+
github.com/adrg/xdg v0.4.0 // indirect
13+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
14+
github.com/dgraph-io/badger/v4 v4.3.0 // indirect
15+
github.com/dgraph-io/ristretto v0.1.2-0.20240116140435-c67e07994f91 // indirect
16+
github.com/dustin/go-humanize v1.0.1 // indirect
17+
github.com/fatih/color v1.18.0 // indirect
18+
github.com/gogo/protobuf v1.3.2 // indirect
19+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
20+
github.com/golang/protobuf v1.5.4 // indirect
21+
github.com/google/flatbuffers v1.12.1 // indirect
22+
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
23+
github.com/hashicorp/go-hclog v1.6.3 // indirect
24+
github.com/hashicorp/go-plugin v1.6.2 // indirect
25+
github.com/hashicorp/yamux v0.1.2 // indirect
26+
github.com/klauspost/compress v1.17.9 // indirect
27+
github.com/mattn/go-colorable v0.1.13 // indirect
28+
github.com/mattn/go-isatty v0.0.20 // indirect
29+
github.com/oklog/run v1.1.0 // indirect
30+
github.com/pkg/errors v0.9.1 // indirect
31+
go.opencensus.io v0.24.0 // indirect
32+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
33+
golang.org/x/net v0.30.0 // indirect
34+
golang.org/x/sys v0.26.0 // indirect
35+
golang.org/x/text v0.19.0 // indirect
36+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
37+
google.golang.org/grpc v1.67.1 // indirect
38+
google.golang.org/protobuf v1.35.1 // indirect
39+
)

plugins/hubspot/go.sum

+201
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)