├── .gitignore ├── LICENSE ├── README.md ├── SUMMARY.md ├── controllers ├── README.md ├── bin ├── controller.go └── example.go ├── cover.jpg ├── cover_small.jpg ├── creating_a_basic_web_app ├── README.md ├── example.go └── public │ └── index.html ├── databases ├── README.md ├── example.go └── example.sqlite ├── deployment ├── .godir ├── Procfile ├── README.md ├── example.go └── public │ └── index.html ├── go_makes_things_simple ├── README.md └── spaceballs.png ├── http_basics ├── README.md ├── example.go └── http_diagram.png ├── middleware ├── README.md ├── example.go └── public │ └── index.html ├── moving_forward └── README.md ├── rendering ├── README.md ├── html │ ├── README.md │ ├── example.go │ └── templates │ │ └── index.html ├── json │ ├── README.md │ └── example.go └── render │ ├── README.md │ ├── example.go │ └── templates │ └── example.tmpl ├── testing ├── README.md ├── end_to_end │ ├── README.md │ ├── example.go │ └── example_test.go └── unit_testing │ ├── README.md │ ├── example.go │ └── example_test.go ├── tips_and_tricks └── README.md └── url_routing ├── README.md └── example.go /.gitignore: -------------------------------------------------------------------------------- 1 | _book 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/README.md -------------------------------------------------------------------------------- /SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/SUMMARY.md -------------------------------------------------------------------------------- /controllers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/controllers/README.md -------------------------------------------------------------------------------- /controllers/bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/controllers/bin -------------------------------------------------------------------------------- /controllers/controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/controllers/controller.go -------------------------------------------------------------------------------- /controllers/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/controllers/example.go -------------------------------------------------------------------------------- /cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/cover.jpg -------------------------------------------------------------------------------- /cover_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/cover_small.jpg -------------------------------------------------------------------------------- /creating_a_basic_web_app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/creating_a_basic_web_app/README.md -------------------------------------------------------------------------------- /creating_a_basic_web_app/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/creating_a_basic_web_app/example.go -------------------------------------------------------------------------------- /creating_a_basic_web_app/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/creating_a_basic_web_app/public/index.html -------------------------------------------------------------------------------- /databases/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/databases/README.md -------------------------------------------------------------------------------- /databases/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/databases/example.go -------------------------------------------------------------------------------- /databases/example.sqlite: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/databases/example.sqlite -------------------------------------------------------------------------------- /deployment/.godir: -------------------------------------------------------------------------------- 1 | deployment 2 | -------------------------------------------------------------------------------- /deployment/Procfile: -------------------------------------------------------------------------------- 1 | web deployment 2 | -------------------------------------------------------------------------------- /deployment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/deployment/README.md -------------------------------------------------------------------------------- /deployment/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/deployment/example.go -------------------------------------------------------------------------------- /deployment/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/deployment/public/index.html -------------------------------------------------------------------------------- /go_makes_things_simple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/go_makes_things_simple/README.md -------------------------------------------------------------------------------- /go_makes_things_simple/spaceballs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/go_makes_things_simple/spaceballs.png -------------------------------------------------------------------------------- /http_basics/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/http_basics/README.md -------------------------------------------------------------------------------- /http_basics/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/http_basics/example.go -------------------------------------------------------------------------------- /http_basics/http_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/http_basics/http_diagram.png -------------------------------------------------------------------------------- /middleware/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/middleware/README.md -------------------------------------------------------------------------------- /middleware/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/middleware/example.go -------------------------------------------------------------------------------- /middleware/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/middleware/public/index.html -------------------------------------------------------------------------------- /moving_forward/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/moving_forward/README.md -------------------------------------------------------------------------------- /rendering/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/README.md -------------------------------------------------------------------------------- /rendering/html/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/html/README.md -------------------------------------------------------------------------------- /rendering/html/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/html/example.go -------------------------------------------------------------------------------- /rendering/html/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/html/templates/index.html -------------------------------------------------------------------------------- /rendering/json/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/json/README.md -------------------------------------------------------------------------------- /rendering/json/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/json/example.go -------------------------------------------------------------------------------- /rendering/render/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/render/README.md -------------------------------------------------------------------------------- /rendering/render/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/render/example.go -------------------------------------------------------------------------------- /rendering/render/templates/example.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/rendering/render/templates/example.tmpl -------------------------------------------------------------------------------- /testing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/testing/README.md -------------------------------------------------------------------------------- /testing/end_to_end/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/testing/end_to_end/README.md -------------------------------------------------------------------------------- /testing/end_to_end/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/testing/end_to_end/example.go -------------------------------------------------------------------------------- /testing/end_to_end/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/testing/end_to_end/example_test.go -------------------------------------------------------------------------------- /testing/unit_testing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/testing/unit_testing/README.md -------------------------------------------------------------------------------- /testing/unit_testing/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/testing/unit_testing/example.go -------------------------------------------------------------------------------- /testing/unit_testing/example_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/testing/unit_testing/example_test.go -------------------------------------------------------------------------------- /tips_and_tricks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/tips_and_tricks/README.md -------------------------------------------------------------------------------- /url_routing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/url_routing/README.md -------------------------------------------------------------------------------- /url_routing/example.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codegangsta/bwag/HEAD/url_routing/example.go --------------------------------------------------------------------------------