cue-lang / docs-and-content

A place to discuss, plan, and track documentation on cuelang.org
6 stars 1 forks source link

Guides are permitted to demonstrate deprecated Go code #186

Closed jpluscplusm closed 1 month ago

jpluscplusm commented 1 month ago

What page were you looking at?

https://cuelang.org/

What version of the site were you looking at?

https://github.com/cue-lang/cuelang.org/commit/5e156972cadf6c6b5009c9f766dfbe6c29af8054

What did you expect?

That all pages containing Go code would present idiomatic and non-deprecated code.

The lack of preprocessor assurance of this fact is tracked in https://github.com/cue-lang/cue/issues/3496. This issue tracks the interim manual addition of go-vet and staticcheck invocations (as outlined https://github.com/cue-lang/cue/issues/3496) at the end of every page containing "go mod init".

jpluscplusm commented 1 month ago

Closed via https://cuelang.org/cl/1202642