diff --git a/meta/chapters.txt b/examples.txt similarity index 100% rename from meta/chapters.txt rename to examples.txt diff --git a/meta/introduction.md b/meta/introduction.md deleted file mode 100644 index 678b89d..0000000 --- a/meta/introduction.md +++ /dev/null @@ -1,28 +0,0 @@ -## Introduction - -Go is an open-source programming language designed for -building simple, fast, and reliable software. -It's powerful to use and fun to learn. - -This book is a hands-on introduction to Go. It gives you -the tools you need to understand the why of Go and how to -write real Go programs. - -### Intended Audience - -This book is intended for experienced programmers who may -be new to Go. If you have previous experience with -languages like Ruby, Python, Javascript, C#, or Java, you -should find this book immediately approachable even if -this is your first introduction to Go. Even if you've -worked with Go before, you may find that the material -covers ideas and techniques that you haven't seen -elsewhere. - -### An Example-Based Approach - -Programmers learn to program by writing programs. -_Go by Example_ therefore teaches Go exclusively via -working example programs, with each chapter trying to -provide the programmer a new tool for writing her own -programs. diff --git a/src/execing-processes/execing-processes.go b/src/execing-processes/execing-processes.go index bac35ed..c4e68da 100644 --- a/src/execing-processes/execing-processes.go +++ b/src/execing-processes/execing-processes.go @@ -1,4 +1,4 @@ -// In the previous chapter we looked at spawning external +// In the previous example we looked at spawning external // process. We do this when we need the functionality // of another process accessable to a running Go process. // In other cases we may just want to completely replace diff --git a/template/chapter.tmpl b/template/example.tmpl similarity index 91% rename from template/chapter.tmpl rename to template/example.tmpl index a96a02a..82e7011 100644 --- a/template/chapter.tmpl +++ b/template/example.tmpl @@ -16,7 +16,7 @@ })();
-- Next example: {{.NextChapter.Name}}. + Next example: {{.NextExample.Name}}.
{{end}}