Skip to content

Commit

Permalink
feat: turn docs folders into go modules (#42143)
Browse files Browse the repository at this point in the history
* feat: turn docs folders into go modules

go submodules are excluded from the module zip of the parent module

turning docs folder into go modules saves around ~90MB from the
module zip

* Update go.mod

* Update go.mod

(cherry picked from commit d43b3b7)
  • Loading branch information
kruskall authored and mergify[bot] committed Feb 8, 2025
1 parent f7babd6 commit 109cb0c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions filebeat/docs/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// turn docs folder into a go module to reduce beats dependency
// size for downstream clients
module github.com/elastic/filebeat/docs

go 1.23
5 changes: 5 additions & 0 deletions metricbeat/docs/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// turn docs folder into a go module to reduce beats dependency
// size for downstream clients
module github.com/elastic/metricbeat/docs

go 1.23

0 comments on commit 109cb0c

Please sign in to comment.