Go

Installation

Welcome to Go Installation guide.

Go Programming Language

Learn how to install the go utility and the go package manager!

Open the package file you downloaded and follow the prompts to install Go. The package installs the Go distribution to /usr/local/go. The package should put the /usr/local/go/bin directory in your PATH environment variable.

You may need to restart any open Terminal sessions for the change to take effect.

Verify that you've installed Go by opening a command prompt and typing the following command:

Terminal
go version

Confirm that the command prints the installed version of Go.

Go Tools

HEIC to JPEG Converter

Link to original source code for the heictojpeg converter, written in the Go programming language. This is a fork of cckalen's work.
Terminal
git clone https://github.com/iancleary/heictojpeg heictojpeg && cd heictojpeg && go build

Simply place it in a directory with .heic files, and on execution, it will save the converted .jpg images in a "jpegs" subfolder.

It's written with concurrency and multi-threading for optimized performance.

Features
  • Converts .heic files to .jpg format.
  • Automatically detects .heic files in the current directory.
  • Saves the converted .jpg files in a dedicated subfolder.
  • Extremely fast, utilizing multi-threading and concurrency.
  • Provides a log file with details of the conversion.
Usage
  • build the executable from source with go build
  • Place the executable in a directory containing .heic files.
  • Run the executable.
  • Check the jpegs subfolder for the converted .jpg images.
Learn how to install various performant Command Line Interface (CLI) tools!