Go Web Development Cookbook
上QQ阅读APP看书,第一时间看更新

Working with Templates, Static Files, and HTML Forms

In this chapter, we will cover the following recipes:

  • Creating your first template
  • Serving static files over HTTP
  • Serving static files over HTTP using Gorilla Mux
  • Creating your first HTML form
  • Reading your first HTML form
  • Validating your first HTML form
  • Uploading your first file