exec cue get go --local --exclude '^X'
cmp blah_go_gen.cue blah.cue.golden

-- go.mod --
module mod.test/blah

go 1.18
-- blah.go --
package main

type X1 string
type Y1 string

const X2 = 3
const Y2 = 4


-- blah.cue.golden --
// Code generated by cue get go. DO NOT EDIT.

//cue:generate cue get go mod.test/blah --exclude=^X

package main

#Y1: string

#Y2: 4
