deck icon indicating copy to clipboard operation
deck copied to clipboard

upgrade to go 1.8 and use of go.mod files

Open gedw99 opened this issue 3 years ago • 3 comments

I am having working on extending the code.

One reason is the fact that we are not using the go work functionality for golang 1.8. It allows module overrides that are private. It also ensures that the go.mod does not need any replace directives. here is a simple example : https://github.com/xmlking/go-workspace


Also 2nd thing is that deck/generate has its own go.mod. Having go.mods inside go.mods recursively like this screws up the gopls for vscode for me. vscode Workspaces does not help either.

gedw99 avatar May 24 '22 15:05 gedw99

Down in the generate folder, is there any reason why we cant remove its go.mod ?

gedw99 avatar May 24 '22 15:05 gedw99

do you mean go 1.18?

ajstarks avatar May 25 '22 22:05 ajstarks

sorry - yes i mean go 1.18.

gedw99 avatar May 27 '22 11:05 gedw99