fork from gbe-notes
This commit is contained in:
parent
19b98e7022
commit
351e1ed020
137
README
137
README
@ -1,136 +1,3 @@
|
|||||||
= next
|
## gbe-book
|
||||||
fork into gbe-book
|
|
||||||
|
|
||||||
write tool for ordering
|
Go by Example book source.
|
||||||
|
|
||||||
split out todo from readme
|
|
||||||
|
|
||||||
blog post on Go on Heroku
|
|
||||||
write
|
|
||||||
review with Keith
|
|
||||||
ship & market
|
|
||||||
blog post on Postgres
|
|
||||||
write
|
|
||||||
review with Keith
|
|
||||||
ship & market
|
|
||||||
|
|
||||||
get web presence in good enough shape to point to from blog post
|
|
||||||
gbe-web
|
|
||||||
basic design / brand
|
|
||||||
basic copy - landing, post-subscribe, post-confirm
|
|
||||||
subscription management
|
|
||||||
|
|
||||||
validate content by filling out some examples
|
|
||||||
|
|
||||||
validate book style in web mockup
|
|
||||||
http://jashkenas.github.com/docco/
|
|
||||||
|
|
||||||
join Google+ and claim website
|
|
||||||
|
|
||||||
= vision
|
|
||||||
must-have book for hackers interested in Go
|
|
||||||
sold at a significant price and producing real revenue
|
|
||||||
notable example of ebook product and marketing
|
|
||||||
|
|
||||||
= values
|
|
||||||
design
|
|
||||||
empathy
|
|
||||||
creativity
|
|
||||||
|
|
||||||
= validation
|
|
||||||
private emails
|
|
||||||
@gobyexample twitter followers, retweets
|
|
||||||
blog posts: views, comments, hn score, hn comments
|
|
||||||
gobyexample.com signups
|
|
||||||
|
|
||||||
= design
|
|
||||||
typography
|
|
||||||
literate programming style
|
|
||||||
devcenter
|
|
||||||
|
|
||||||
= web
|
|
||||||
sms on up/down
|
|
||||||
custom error pages
|
|
||||||
|
|
||||||
= distribution
|
|
||||||
* blog
|
|
||||||
* newsletter
|
|
||||||
* twitter
|
|
||||||
* stack overflow answers
|
|
||||||
* web site
|
|
||||||
* free books for contributors and reviewers
|
|
||||||
* stack overflow ads
|
|
||||||
* adwords ads
|
|
||||||
|
|
||||||
= pricing
|
|
||||||
* $39
|
|
||||||
* updates forever
|
|
||||||
* no drm
|
|
||||||
|
|
||||||
= sources
|
|
||||||
* effective go
|
|
||||||
* chinese web apps book
|
|
||||||
* http://news.ycombinator.com/item?id=4543818
|
|
||||||
* http://nosqlhandbook.com/
|
|
||||||
* http://www.paperplanes.de/2012/1/12/my-publishing-tool-chain.html
|
|
||||||
* http://devblog.avdi.org/2012/01/12/my-authoring-tools/
|
|
||||||
* 99 designes
|
|
||||||
* http://code.google.com/p/go-wiki/wiki/SliceTricks
|
|
||||||
* http://code.google.com/p/go-wiki/wiki/BoundingResourceUse
|
|
||||||
* https://groups.google.com/group/gorilla-web
|
|
||||||
* http://shadynasty.biz/blog/2012/08/07/painless-web-handlers-in-go/
|
|
||||||
|
|
||||||
= topics
|
|
||||||
* websockets
|
|
||||||
* html web scraping hn
|
|
||||||
* protocol buffers
|
|
||||||
* gomax procs
|
|
||||||
* noblocking send and non-blocking receive
|
|
||||||
* dropping sends if buffer full
|
|
||||||
* web app
|
|
||||||
* default response
|
|
||||||
* accessing header values and query params
|
|
||||||
* accessing post body
|
|
||||||
* simultaneous assignment
|
|
||||||
* mongo
|
|
||||||
* time formatting
|
|
||||||
* typed json parse/unparse
|
|
||||||
* gzip
|
|
||||||
* set library
|
|
||||||
* base64 encoding
|
|
||||||
* http streaming server
|
|
||||||
* inline panic
|
|
||||||
|
|
||||||
* http streaming client
|
|
||||||
* templating
|
|
||||||
* ssh
|
|
||||||
* dns
|
|
||||||
* iota
|
|
||||||
* oauth for google domains
|
|
||||||
* testing
|
|
||||||
* markdown (blackfriday)
|
|
||||||
* init functions
|
|
||||||
* using gofmt
|
|
||||||
* scrolls style logging
|
|
||||||
* range and close http://tour.golang.org/#66
|
|
||||||
* benchmarking
|
|
||||||
* profiling
|
|
||||||
* command line program
|
|
||||||
* using go with textmate
|
|
||||||
* using go with sublime
|
|
||||||
* using go with vi
|
|
||||||
* using go with emacs
|
|
||||||
|
|
||||||
* setting up go env, hello world
|
|
||||||
* deploying to heroku
|
|
||||||
* distributing go binary programs
|
|
||||||
* apps with multiple named binaries
|
|
||||||
* shipping a package (structure, github, docs)
|
|
||||||
|
|
||||||
= program ideas
|
|
||||||
self-signed cert generator
|
|
||||||
command line client for public json api
|
|
||||||
redis server
|
|
||||||
github webook receiver
|
|
||||||
campfire bot
|
|
||||||
http://www.youtube.com/watch?v=-i0hat7pdpk
|
|
||||||
|
@ -1,48 +0,0 @@
|
|||||||
https://gist.github.com/4984b5d9fe9244776197
|
|
||||||
|
|
||||||
## Getting Started with Go and Heroku
|
|
||||||
|
|
||||||
This is an quick guide to getting started with Go. It's for experienced
|
|
||||||
programers interested in Go, and assumes you are familiar with the
|
|
||||||
terminal are using a modern Mac. It
|
|
||||||
covers everything you need to know from the [Go setup doc](http://golang.org/doc/install)
|
|
||||||
and provides additional context about environment variables and
|
|
||||||
code layouts that will help you avoid confusion.
|
|
||||||
|
|
||||||
|
|
||||||
### Download and Install Go
|
|
||||||
|
|
||||||
Go to the [downloads page](http://code.google.com/p/go/downloads/list)
|
|
||||||
and choose the link for your OS. Click on the downloaded package and
|
|
||||||
follow the quick installer.
|
|
||||||
|
|
||||||
To test your install, open a new Terminal window and try the `go`
|
|
||||||
command:
|
|
||||||
|
|
||||||
$ go version
|
|
||||||
go version go1.0.2
|
|
||||||
|
|
||||||
|
|
||||||
### Hello World
|
|
||||||
|
|
||||||
Here is a simple Go program. Put this in `hello.go`:
|
|
||||||
|
|
||||||
package main
|
|
||||||
|
|
||||||
import "fmt"
|
|
||||||
|
|
||||||
func main() {
|
|
||||||
fmt.Printf("hello, world\n")
|
|
||||||
}
|
|
||||||
|
|
||||||
Now try it with `go run`:
|
|
||||||
|
|
||||||
$ go run hello.go
|
|
||||||
Hello, world
|
|
||||||
|
|
||||||
Great, it worked!
|
|
||||||
|
|
||||||
|
|
||||||
### Set up Go Workspace and Environment
|
|
||||||
|
|
||||||
Go expects a few particular things to be configured.
|
|
@ -1,9 +0,0 @@
|
|||||||
## Go by Example: a Book for Hackers
|
|
||||||
|
|
||||||
* a new kind of programming book
|
|
||||||
* programmers learn by examples - minimize text, maximize code
|
|
||||||
* programmers want to ship software - focus on working programs, toolchain
|
|
||||||
* design matters - syntax highlighting, typography
|
|
||||||
* marketing matters - twitter,
|
|
||||||
* select, actors, threads, and event loops
|
|
||||||
* small go programming examples
|
|
@ -1,12 +0,0 @@
|
|||||||
## Go on Heroku
|
|
||||||
|
|
||||||
Base on quickstart.
|
|
||||||
|
|
||||||
|
|
||||||
#### Calls to Action
|
|
||||||
|
|
||||||
...
|
|
||||||
|
|
||||||
Do you want to learn more about Go? I'm writing a book about how to ship Go code. Sign up at gobyexample.com for updates.
|
|
||||||
|
|
||||||
...
|
|
@ -1,26 +0,0 @@
|
|||||||
## Go Package Versioning
|
|
||||||
|
|
||||||
If you're new to Go you'll probably ask yourself the question:
|
|
||||||
|
|
||||||
How does Go do package versioning?
|
|
||||||
|
|
||||||
The short answer is: it doesn't. But don't panic! There is a good
|
|
||||||
reason for this approach.
|
|
||||||
|
|
||||||
In this post we explain why Go takes this approach and what it means
|
|
||||||
for you as a go package user and package author.
|
|
||||||
|
|
||||||
|
|
||||||
### Always Ship Master
|
|
||||||
|
|
||||||
*
|
|
||||||
|
|
||||||
Do not change public APIs.
|
|
||||||
|
|
||||||
The vendored option.
|
|
||||||
|
|
||||||
Every major programming language has evolved.
|
|
||||||
|
|
||||||
#### Learn More About Go
|
|
||||||
|
|
||||||
Want to learn more about go. [Go by Example]() will teach you!
|
|
@ -1 +0,0 @@
|
|||||||
* toolchain used to build the book, perhaps test code samples
|
|
@ -1,7 +0,0 @@
|
|||||||
system-mediated concurrency
|
|
||||||
|
|
||||||
a mechanism for participation
|
|
||||||
|
|
||||||
find that fucking old gist
|
|
||||||
|
|
||||||
erlang and go strictly more powerful, but potentially harder to understand
|
|
@ -1,4 +0,0 @@
|
|||||||
= color
|
|
||||||
black: 212121
|
|
||||||
white: ffffff
|
|
||||||
blue: 1f58ad
|
|
@ -1,32 +0,0 @@
|
|||||||
## Go by Example
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
_Go by Example_ is a practical guide to the Go programming language.
|
|
||||||
consisting of more than a hundred complete Go programs. The book
|
|
||||||
covers everything from getting started to writing sophisticated
|
|
||||||
concurrent programs.
|
|
||||||
|
|
||||||
Sign up to hear when an early release is ready:
|
|
||||||
|
|
||||||
[ you@domain.com]
|
|
||||||
|
|
||||||
You'll learn the basic of Go and how to build real-world programs
|
|
||||||
like database-backed web sites.
|
|
||||||
|
|
||||||
Condense all Google queries.
|
|
||||||
|
|
||||||
#### About the Author
|
|
||||||
|
|
||||||
Mark McGranaghan is an engineer, technical designer, and developer
|
|
||||||
product enthusiast. Contact him at mmcgrana@gmail.com
|
|
||||||
|
|
||||||
----------------
|
|
||||||
|
|
||||||
(c) 2012 Mark McGranaghan
|
|
||||||
|
|
||||||
* Working examples
|
|
||||||
* N examples
|
|
||||||
* Web, SQL, JSON
|
|
||||||
* Upcoming
|
|
||||||
* Fast
|
|
@ -1,23 +0,0 @@
|
|||||||
<Go by Example>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
+---------------------------------------------------------------+
|
|
||||||
| |
|
|
||||||
| |
|
|
||||||
| |
|
|
||||||
| +--------------+ |
|
|
||||||
| | | |
|
|
||||||
| | | Your practical guide to Go. |
|
|
||||||
| | Go | |
|
|
||||||
| | by | Get updates about the book: |
|
|
||||||
| | Example | [ (Your Email) ] {Subscribe} |
|
|
||||||
| | | |
|
|
||||||
| | | |
|
|
||||||
| | | |
|
|
||||||
| +--------------+ |
|
|
||||||
| |
|
|
||||||
| |
|
|
||||||
| |
|
|
||||||
+---------------------------------------------------------------+ +
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user