---
title: hugo.GoVersion
description: Returns the Go version used to compile the Hugo binary
categories: []
keywords: []
params:
  functions_and_methods:
    aliases: []
    returnType: string
    signatures: [hugo.GoVersion]
---

```go-html-template
{{ hugo.GoVersion }} → go1.21.1
```
