The JetBrains Blog

Blog

  • Blogs by Topic
    • English
    • Español
    • Français
    • 한국어
    • Русский
    • 简体中文
    • Português do Brasil
    • IDEs

      • AppCode
      • CLion
      • DataGrip
      • DataSpell
      • Fleet
      • GoLand
      • IntelliJ IDEA
      • PhpStorm
      • PyCharm
      • Rider
      • RubyMine
      • WebStorm
    • Plugins & Services

      • Big Data Tools
      • Code With Me
      • Quality Assurance
      • JetBrains Platform
      • Rust
      • Scala
      • Toolbox App
      • Writerside
    • Team Tools

      • Datalore
      • Space
      • TeamCity
      • Upsource
      • YouTrack
      • Hub
      • Qodana
    • .NET & Visual Studio

      • .NET Tools
      • ReSharper C++
    • Languages & Frameworks

      • Kotlin
      • Ktor
      • MPS
    • Education & Research

      • Edu Products
      • Research
    • Company

      • Company Blog
      • Security
Go logo

The GoLand Blog

A cross-platform Go IDE with extended support for JavaScript, TypeScript, and databases

Follow
  • Follow GoLand:
  • Twitter
  • Youtube
  • RSS
  • slack
Download
Follow
  • Follow GoLand:
  • Twitter
  • Youtube
  • RSS
  • slack
  • News
  • Releases
  • Features
  • Webinars
  • Early Access Program
  • Tutorials
Download

templates

Build a Blog With Go Templates

In this tutorial, you will learn how to use the html/template package to create a blog application.

Sergey Kozlovskiy Sergey Kozlovskiy

Go templates made easy

Go ships with its own template engine, split into two packages, text/template and html/template. These packages are similar in functionality, with the difference that html/template allows a user to generate HTML code that is safe against code injection, making it suitable for use on web pages and emails. These packages are also used in other applications such as the configuration for Helm, the Kubernetes package manager, assisting with code generation and much more. (more…)

Florin Pățan Florin Pățan
  • Privacy & Security
  • Terms of Use
  • Legal
  • Genuine tools
  • English
  • Español
  • Français
  • 한국어
  • Русский
  • 简体中文
  • Português do Brasil
Copyright © 2000–2022 JetBrains s.r.o.