diff options
| author | Jamal Carvalho <jamal@golang.org> | 2020-12-14 08:47:41 -0500 |
|---|---|---|
| committer | Jamal Carvalho <jamal@golang.org> | 2020-12-14 16:43:49 +0000 |
| commit | 4e306af91274b1f7cd0d186347da1d7bbf941edb (patch) | |
| tree | 55039dc31538c088c64fd3dbb26d39045593dfdc /internal/testing/sample/sample.go | |
| parent | 1556c6bf5bcae3690a58340ace2ef214784425f5 (diff) | |
| download | go-x-pkgsite-4e306af91274b1f7cd0d186347da1d7bbf941edb.tar.xz | |
internal: add fields to unit meta struct
Adds HasGoMod and VersionType fields to the UnitMeta struct
and ModFileURL and IsStableVersion to UnitMain to support the
details section in the right sidebar.
For golang/go#43129
Change-Id: Id605d27d6a421d7c5ff2afc39f4532b11e49ace6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/277832
Reviewed-by: Julie Qiu <julie@golang.org>
Trust: Julie Qiu <julie@golang.org>
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'internal/testing/sample/sample.go')
0 files changed, 0 insertions, 0 deletions
