talks: fix typos and other small issues in State of Go 2017
Change-Id: Ibacf27ca12c9c7438c58725b7da047464f9f87ee
Reviewed-on: https://go-review.googlesource.com/36333
Reviewed-by: Rob Pike <r@golang.org>
diff --git a/2017/state-of-go.slide b/2017/state-of-go.slide
index 634804a..e756037 100644
--- a/2017/state-of-go.slide
+++ b/2017/state-of-go.slide
@@ -8,7 +8,7 @@
* Time flies
-Go 1.6 is one year old (happy birthday!)
+Go 1.6 is one year old (Happy Birthday!)
Go 1.7 is already 6 months old!
@@ -189,7 +189,7 @@
fatal error: concurrent map read and map write
fatal error: concurrent map writes
-* Mutext Contention Profiling
+* Mutex Contention Profiling
Profile your benchmarks and the contention on your mutexes.
@@ -417,6 +417,8 @@
go build -buildmode=plugin
+_Note_: This currently works only on Linux.
+
* Plugins
.code state-of-go/stdlib/plugin/main.go /plugin.Open/,/Hello/
diff --git a/2017/state-of-go/stdlib/http2/http2.go b/2017/state-of-go/stdlib/http2/http2.go
index e370961..c1b563e 100644
--- a/2017/state-of-go/stdlib/http2/http2.go
+++ b/2017/state-of-go/stdlib/http2/http2.go
@@ -11,7 +11,7 @@
var cert, key string
func init() {
- pkg, err := build.Import("golang.org/x/talks/2017/state-of-go/http2", ".", build.FindOnly)
+ pkg, err := build.Import("golang.org/x/talks/2017/state-of-go/stdlib/http2", ".", build.FindOnly)
if err != nil {
log.Fatal(err)
}