Directories
¶
Path | Synopsis |
---|---|
make a video of you and upload to your twitter and tag mr.
|
make a video of you and upload to your twitter and tag mr. |
access documentation golang via local run on terminal : godoc -http :8080 and type on browser : localhost:8080 and show your local documentation
|
access documentation golang via local run on terminal : godoc -http :8080 and type on browser : localhost:8080 and show your local documentation |
chapter-71-exercise-ninja-level-13
|
|
chapter-75-passing-data-structures-into-template
|
|
chapter-76-function-in-template
|
|
chapter-77-pipelines-in-template
|
|
chapter-78-predefine-global-function-template
|
|
chapter-80-composition-and-methods-on-templates
|
|
chapter-81-hands-on-excercise-web-templates
|
|
hands-on-6
package main import ( "html/template" "log" "os" ) type DataCsv struct { Date string Open float64 } type dataCsvOverall []DataCsv var tpl *template.Template func init(){ tpl = template.Must(template.ParseGlob("tpl.gohtml")) } func main() { data := dataCsvOverall{ DataCsv{ Date: "2015-07-09", Open: 523.119995, }, DataCsv{ Date: "2015-07-08 ", Open: 521.049988, }, DataCsv{ Date: "2015-07-07 ", Open: 523.130005, }, } err := tpl.Execute(os.Stdout, data) if err != nil { log.Fatalf("%s sdjhfgjhsfgjhds",err) } }
|
package main import ( "html/template" "log" "os" ) type DataCsv struct { Date string Open float64 } type dataCsvOverall []DataCsv var tpl *template.Template func init(){ tpl = template.Must(template.ParseGlob("tpl.gohtml")) } func main() { data := dataCsvOverall{ DataCsv{ Date: "2015-07-09", Open: 523.119995, }, DataCsv{ Date: "2015-07-08 ", Open: 521.049988, }, DataCsv{ Date: "2015-07-07 ", Open: 523.130005, }, } err := tpl.Execute(os.Stdout, data) if err != nil { log.Fatalf("%s sdjhfgjhsfgjhds",err) } } |
chapter-82-using-package-text-template
|
|
chapter-83-tcp-server
|
|
chapter-84-understanding-netHttp-package
|
|
chapter-87-hands-on
|
|
chapter-88-serving-file
|
|
chapter-89-hands-on
|
|
chapter-90-notFoundHandler
|
|
chapter-92-passing-data
|
|
chapter-93-redirect
|
|
chapter-94-cookies
|
|
chapter-95-sessions
|
|
chapter-96-mysql
|
|
Click to show internal directories.
Click to hide internal directories.