Skip to content

Commit

Permalink
chore: add go.work file
Browse files Browse the repository at this point in the history
This fixes `gopls` to look up usage correctly across sub-packages in the
same repo.

Signed-off-by: Andrey Smirnov <[email protected]>
  • Loading branch information
smira committed Jul 1, 2024
1 parent 3810ccb commit 5e46841
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2022-11-30T18:14:53Z by kres c41f376.
# Generated on 2024-06-30T11:04:55Z by kres 4c9f215.

_out
hack/generate-certs.yml
hack/generate-certs/ca-root
hack/generate-certs/certs
hack/compose/docker-compose.override.yml
go.work.sum
frontend/node_modules
1 change: 1 addition & 0 deletions .kres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ spec:
- "hack/generate-certs/ca-root"
- "hack/generate-certs/certs"
- "hack/compose/docker-compose.override.yml"
- go.work.sum
---
kind: common.SOPS
spec:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
#
# Generated on 2024-06-20T19:39:00Z by kres 4c9f215.
# Generated on 2024-07-01T17:08:11Z by kres 4c9f215.

# common variables

Expand Down Expand Up @@ -272,7 +272,7 @@ lint-markdown: ## Runs markdownlint.
@$(MAKE) target-$@

.PHONY: lint
lint: lint-eslint lint-golangci-lint-client lint-gofumpt-client lint-govulncheck-client lint-golangci-lint lint-gofumpt lint-markdown ## Run all linters for the project.
lint: lint-eslint lint-golangci-lint-client lint-gofumpt-client lint-govulncheck-client lint-golangci-lint lint-gofumpt lint-govulncheck lint-markdown ## Run all linters for the project.

.PHONY: image-omni
image-omni: ## Builds image for omni.
Expand Down
7 changes: 7 additions & 0 deletions go.work
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
go 1.22.4

use (
.
./client
./internal/e2e-tests
)

0 comments on commit 5e46841

Please sign in to comment.