-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathimports.go
27 lines (21 loc) · 979 Bytes
/
imports.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//go:build never
package gosim
// This file exists as a dependency for users of gosim. The CLI, through
// internal/translate, needs to be able to import all packages below when run
// _inside_ the user's module. By importing the gosim package their go.mod will
// get all the required dependencies.
// TODO: allow fixing these at a different, independent version? what if there
// are multiple go.mod because we run on multiple versions?
import (
// Allow running the CLI.
_ "github.com/jellevandenhooff/gosim/cmd/gosim"
// Packages listed in internal/translate.TranslatedRuntimePackages.
_ "github.com/jellevandenhooff/gosim/internal/hooks/go123"
_ "github.com/jellevandenhooff/gosim/internal/reflect"
_ "github.com/jellevandenhooff/gosim/internal/simulation"
_ "github.com/jellevandenhooff/gosim/internal/testing"
// Tools used by gosim. For this repository.
_ "github.com/go-task/task/v3/cmd/task"
_ "golang.org/x/tools/cmd/goimports"
_ "mvdan.cc/gofumpt"
)