Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tour: drop deprecated build tag #248

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _content/tour/basics/basic-types.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/constants.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/exported-names.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-build OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/functions-continued.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/functions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/imports.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/multiple-results.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/named-results.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/numeric-constants.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/packages.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/short-variable-declarations.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/type-conversions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/type-inference.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/variables-with-initializers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/variables.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/basics/zero.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/concurrency/buffered-channels.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/concurrency/channels.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/concurrency/default-selection.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-build OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/concurrency/exercise-web-crawler.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/concurrency/goroutines.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/concurrency/mutex-counter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/concurrency/range-and-close.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/concurrency/select.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/defer-multi.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/defer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/exercise-loops-and-functions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-build OMIT
//go:build ignore || OMIT

package main

Expand Down
4 changes: 2 additions & 2 deletions _content/tour/flowcontrol/for-continued.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// +build OMIT
//go:build OMIT

package main

import "fmt"

func main() {
sum := 1
for ; sum < 1000; {
for sum < 1000 {
sum += sum
}
fmt.Println(sum)
Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/for-is-gos-while.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/for.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/forever.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-run OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/if-and-else.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/if-with-a-short-statement.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/if.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/switch-evaluation-order.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/switch-with-no-condition.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/flowcontrol/switch.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
1 change: 0 additions & 1 deletion _content/tour/generics/index.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build OMIT
// +build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/empty-interface.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/errors.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/exercise-errors.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/exercise-images.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-build OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/exercise-reader.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-build OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/exercise-rot-reader.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-build OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/exercise-stringer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/images.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/indirection-values.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/indirection.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/interface-values-with-nil.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/interface-values.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/interfaces.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-build OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/methods-continued.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/methods-funcs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/methods-pointers-explained.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/methods-pointers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/methods-with-pointer-receivers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/methods.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/nil-interface-values.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-run OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/reader.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/stringer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/type-assertions.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build no-run OMIT
//go:build ignore || OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/methods/type-switches.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion _content/tour/moretypes/append.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
//go:build OMIT

package main

Expand Down
Loading