Why Go For Web Dev
Prerequisites
Resources
Language review
How to succeed
Understanding templates
Templating with concatenation
Understanding package text/template: parsing & executing templates
Passing data into templates
Variables in templates
Passing composite data structures into templates
Functions in templates
Pipelines in templates
Predefined global functions in templates
Nesting templates - modularizing your code
Passing data into templates & composition
Using methods in templates
Hands-on exercises
Using package html/template, character escaping, & cross-site scripting
Understanding servers
TCP server - write to connection
TCP server - read from connection using bufio.Scanner
TCP server - read from & write to connection
TCP server - code a client
TCP server - rot13 & in-memory database
TCP server - HTTP request / response foundation hands-on exercise
TCP server - HTTP method & URI retrieval hands-on exercise
TCP server - HTTP multiplexer
net/http package - an overview
Understanding & using ListenAndServe
Foundation of net/http: Handler, ListenAndServe, Request, ResponseWriter
Retrieving form values - exploring *http.Request
Retrieving other request values - exploring *http.Request
Exploring http.ResponseWriter - writing headers to the response
Review
Understanding ServeMux
Disambiguation: func(ResponseWriter, *Request) vs. HandlerFunc
Third-party servemux - Julien Schmidt’s router
Hands-on exercises
Hands-on exercises - solutions #1
Hands-on exercises - solutions #2
Serving a file with io.Copy
Serving a file with http.ServeContent & http.ServeFile
Serving a file with http.FileServer
Serving a file with http.FileServer & http.StripPrefix
Creating a static file server with http.FileServer
log.Fatal & http.Error
Hands-on exercises
Hands-on exercises - solutions
The http.NotFoundHandler
Buying a domain - Google domains
Deploying to Google Cloud
State overview
Passing values through the URL
Passing values from forms
Uploading a file, reading the file,...
CSS
Why Go For Web Dev
Prerequisites
Resources
Language review
How to succeed
Understanding templates
Templating with concatenation
Understanding package texttemplate parsing & executing templates
Passing data into templates
Variables in templates
Passing composite data structures into templates
Functions in templates
Pipelines in templates
Predefined global functions in templates
Nesting templates - modularizing your code
Passing data into templates & composition
Using methods in templates
Hands-on exercises
Using package htmltemplate, character escaping, & cross-site scripting
Understanding servers
TCP server - write to connection
TCP server - read from connection using bufio.Scanner
TCP server - read from & write to connection
TCP server - code a client
TCP server - rot13 & in-memory database
TCP server - HTTP request response foundation hands-on exercise
TCP server - HTTP method & URI retrieval hands-on exercise
TCP server - HTTP multiplexer
nethttp package - an overview
Understanding & using ListenAndServe
Foundation of nethttp Handler, ListenAndServe, Request, ResponseWriter
Retrieving form values - exploring http.Request
Retrieving other request values - exploring http.Request
Exploring http.ResponseWriter - writing headers to the response
Review
Understanding ServeMux
Disambiguation func(ResponseWriter, Request) vs. HandlerFunc
Third-party servemux - Julien Schmidt’s router
Hands-on exercises
Hands-on exercises - solutions #1
Hands-on exercises - solutions #2
Serving a file with io.Copy
Serving a file with http.ServeContent & http.ServeFile
Serving a file with http.FileServer
Serving a file with http.FileServer & http.StripPrefix
Creating a static file server with http.FileServer
log.Fatal & http.Error
Hands-on exercises
Hands-on exercises - solutions
The http.NotFoundHandler
Buying a domain - Google domains
Deploying to Google Cloud
State overview
Passing values through the URL
Passing values from forms
Uploading a file, reading the file, creating a file on...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.