diff options
Diffstat (limited to 'content/moretypes')
26 files changed, 26 insertions, 26 deletions
diff --git a/content/moretypes/append.go b/content/moretypes/append.go index 3e33d98..906057f 100644 --- a/content/moretypes/append.go +++ b/content/moretypes/append.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/array.go b/content/moretypes/array.go index 8d73573..3503aea 100644 --- a/content/moretypes/array.go +++ b/content/moretypes/array.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/exercise-fibonacci-closure.go b/content/moretypes/exercise-fibonacci-closure.go index f5125e3..b33a154 100644 --- a/content/moretypes/exercise-fibonacci-closure.go +++ b/content/moretypes/exercise-fibonacci-closure.go @@ -1,4 +1,4 @@ -// +build no-build OMIT +//go:build nobuild || OMIT package main diff --git a/content/moretypes/exercise-maps.go b/content/moretypes/exercise-maps.go index 71143b8..326f242 100644 --- a/content/moretypes/exercise-maps.go +++ b/content/moretypes/exercise-maps.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/exercise-slices.go b/content/moretypes/exercise-slices.go index ee766ef..2c9230e 100644 --- a/content/moretypes/exercise-slices.go +++ b/content/moretypes/exercise-slices.go @@ -1,4 +1,4 @@ -// +build no-build OMIT +//go:build nobuild || OMIT package main diff --git a/content/moretypes/function-closures.go b/content/moretypes/function-closures.go index df09995..0e4b14e 100644 --- a/content/moretypes/function-closures.go +++ b/content/moretypes/function-closures.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/function-values.go b/content/moretypes/function-values.go index 0527d71..6ccdd55 100644 --- a/content/moretypes/function-values.go +++ b/content/moretypes/function-values.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/making-slices.go b/content/moretypes/making-slices.go index 2dae8de..5808b00 100644 --- a/content/moretypes/making-slices.go +++ b/content/moretypes/making-slices.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/map-literals-continued.go b/content/moretypes/map-literals-continued.go index 3a78844..eb35a2d 100644 --- a/content/moretypes/map-literals-continued.go +++ b/content/moretypes/map-literals-continued.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/map-literals.go b/content/moretypes/map-literals.go index 9aca19a..2559624 100644 --- a/content/moretypes/map-literals.go +++ b/content/moretypes/map-literals.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/maps.go b/content/moretypes/maps.go index 17727b7..d6c23a7 100644 --- a/content/moretypes/maps.go +++ b/content/moretypes/maps.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/mutating-maps.go b/content/moretypes/mutating-maps.go index 2c3d048..18427f8 100644 --- a/content/moretypes/mutating-maps.go +++ b/content/moretypes/mutating-maps.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/nil-slices.go b/content/moretypes/nil-slices.go index a317027..ae42f35 100644 --- a/content/moretypes/nil-slices.go +++ b/content/moretypes/nil-slices.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/pointers.go b/content/moretypes/pointers.go index 09e8aca..e2685f9 100644 --- a/content/moretypes/pointers.go +++ b/content/moretypes/pointers.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/range-continued.go b/content/moretypes/range-continued.go index feae06b..df66a25 100644 --- a/content/moretypes/range-continued.go +++ b/content/moretypes/range-continued.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/range.go b/content/moretypes/range.go index 193c961..8b83539 100644 --- a/content/moretypes/range.go +++ b/content/moretypes/range.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/slice-bounds.go b/content/moretypes/slice-bounds.go index 1ba3963..7cd3a7a 100644 --- a/content/moretypes/slice-bounds.go +++ b/content/moretypes/slice-bounds.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/slice-len-cap.go b/content/moretypes/slice-len-cap.go index a1c5764..f4f37d8 100644 --- a/content/moretypes/slice-len-cap.go +++ b/content/moretypes/slice-len-cap.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/slice-literals.go b/content/moretypes/slice-literals.go index 5a98010..f62561e 100644 --- a/content/moretypes/slice-literals.go +++ b/content/moretypes/slice-literals.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/slices-of-slice.go b/content/moretypes/slices-of-slice.go index eb1a442..759cf68 100644 --- a/content/moretypes/slices-of-slice.go +++ b/content/moretypes/slices-of-slice.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/slices-pointers.go b/content/moretypes/slices-pointers.go index 193b463..adb7385 100644 --- a/content/moretypes/slices-pointers.go +++ b/content/moretypes/slices-pointers.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/slices.go b/content/moretypes/slices.go index 7720f84..181d736 100644 --- a/content/moretypes/slices.go +++ b/content/moretypes/slices.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/struct-fields.go b/content/moretypes/struct-fields.go index b85607f..bb71288 100644 --- a/content/moretypes/struct-fields.go +++ b/content/moretypes/struct-fields.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/struct-literals.go b/content/moretypes/struct-literals.go index 4c86016..f7bb5c5 100644 --- a/content/moretypes/struct-literals.go +++ b/content/moretypes/struct-literals.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/struct-pointers.go b/content/moretypes/struct-pointers.go index 901f003..459c1d4 100644 --- a/content/moretypes/struct-pointers.go +++ b/content/moretypes/struct-pointers.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main diff --git a/content/moretypes/structs.go b/content/moretypes/structs.go index 253a4fd..52edb8d 100644 --- a/content/moretypes/structs.go +++ b/content/moretypes/structs.go @@ -1,4 +1,4 @@ -// +build OMIT +//go:build OMIT package main |
