Air

Version: 1.63.0 Linux MacOS go hot-reload

When I started developing websites in Go and using gin framework, it was a pity that gin lacked a live-reloading function. So I searched around and tried fresh, it seems not much flexible, so I intended to rewrite it better. Finally, Air’s born. In addition, great thanks to pilu, no fresh, no air :)

Air is yet another live-reloading command line utility for developing Go applications. Run air in your project root directory, leave it alone, and focus on your code.

Installation Instructions

Linux

Download Artefact
{
  "url": "{{ .SVar `.tool.go_air.download.url` }}",
  "destination_folder": "{{ .PDownloads }}",
  "output_filename": "{{ .SVar `.tool.go_air.download.filename` }}",
  "overwrite": false
}
Copy download to tool space
{
  "source": "{{ .PDownloads }}/{{ .SVar `.tool.go_air.download.filename` }}",
  "destination": "{{ .PTools }}/go_air/{{ .SVar `.tool.go_air.download.version` }}/air"
}
Make sure artefact is executable
{
  "path": "{{ .PTools }}/go_air/{{ .SVar `.tool.go_air.download.version` }}/air",
  "permission_bits": 504
}

MacOS

Download Artefact
{
  "url": "{{ .SVar `.tool.go_air.download.url` }}",
  "destination_folder": "{{ .PDownloads }}",
  "output_filename": "{{ .SVar `.tool.go_air.download.filename` }}",
  "overwrite": false
}
Copy download to tool space
{
  "source": "{{ .PDownloads }}/{{ .SVar `.tool.go_air.download.filename` }}",
  "destination": "{{ .PTools }}/go_air/{{ .SVar `.tool.go_air.download.version` }}/air"
}
Make sure artefact is executable
{
  "path": "{{ .PTools }}/go_air/{{ .SVar `.tool.go_air.download.version` }}/air",
  "permission_bits": 504
}

Binaries