Skip to content

Commit

Permalink
all: add go.mod
Browse files Browse the repository at this point in the history
Commands run:
	sed -i 's;// +build OMIT;// +build ignore,OMIT;' $(grep -l OMIT -r)
	go mod init
	go mod edit -go=1.11
	go mod tidy
	go list -m all
	go test ./...

Updates golang/go#30228
Updates golang/go#29598

Change-Id: I3d0a4787c1158572bed8dd3785ff02e16d1cc1f3
Reviewed-on: https://go-review.googlesource.com/c/talks/+/167159
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
  • Loading branch information
Bryan C. Mills committed Mar 13, 2019
1 parent fe698a2 commit 5ca518b
Show file tree
Hide file tree
Showing 362 changed files with 364 additions and 361 deletions.
2 changes: 1 addition & 1 deletion content/2010/io/balance.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2010/io/decrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build OMIT
// +build ignore,OMIT

// This code differs from the slides in that it handles errors.

Expand Down
2 changes: 1 addition & 1 deletion content/2010/io/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build OMIT
// +build ignore,OMIT

// This code differs from the slides in that it handles errors.

Expand Down
2 changes: 1 addition & 1 deletion content/2010/io/eval1.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2010/io/eval2.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/10things/10.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/10things/8.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/10things/9.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/10things/9b.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/both/chat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/both/html.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/both/markov.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/http-noembed/chat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/http-noembed/html.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/http/chat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/http/html.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/markov/chat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/markov/html.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/markov/markov.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/chan.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/defs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/echo-no-concurrency.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/echo.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/embed.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/goroutines.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/hello-net.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/hello-web.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/hello.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/select.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/support/websocket.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/tcp-simple/chat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/chat/tcp/chat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/boring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/changoboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/chat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/daisy.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/faninboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/generator2boring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/generatorboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/goboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/google.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/google2.1.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/google2.2.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/google2.3.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/google3.0.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/helpers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/lessboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/mainboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/quit.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/rcvquit.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

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

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/selectboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/sequenceboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/timeout.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/timeoutall.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/concurrency/support/waitgoboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/go-docs/faninboring.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/goforc/adder.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/goforc/cat.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/goforc/celsius.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/goforc/channels.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/goforc/communication1.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
2 changes: 1 addition & 1 deletion content/2012/goforc/communication2.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build OMIT
// +build ignore,OMIT

package main

Expand Down
Loading

0 comments on commit 5ca518b

Please sign in to comment.