chore: add go.work file

This fixes `gopls` to look up usage correctly across sub-packages in the
same repo.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
Andrey Smirnov 2024-06-30 15:05:05 +04:00
parent 3810ccb03f
commit 5e468413a9
No known key found for this signature in database
GPG Key ID: FE042E3D4085A811
4 changed files with 12 additions and 3 deletions

3
.gitignore vendored
View File

@ -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

View File

@ -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:

View File

@ -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
@ -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.

7
go.work Normal file
View File

@ -0,0 +1,7 @@
go 1.22.4
use (
.
./client
./internal/e2e-tests
)