Files
vim-ale/golang
AJ ONeal 7f0c92e262 add releases.conf for all remaining packages and wire new fetchers
New fetcher packages:
- chromedist: Chrome for Testing API (googlechromelabs.github.io)
- gpgdist: SourceForge RSS for GPG macOS
- mariadbdist: MariaDB downloads REST API

New releases.conf files for:
- GitHub: aliasman, awless, duckdns.sh, hugo-extended, kubens, rg, postgres
- gittag: vim-commentary, vim-zig
- gitea: pathman
- chromedist: chromedriver
- gpgdist: gpg
- mariadbdist: mariadb
- nodedist: node

Alias support (alias_of key):
- golang → go, dashd → dashcore, psql → postgres, zig.vim → vim-zig
- Aliases skip fetching and share cache with their target

Every package with a releases.js now has a releases.conf (except the
dead macos package). fetchraw dispatches to all 13 source types.
2026-03-09 22:48:11 -06:00
..
2026-03-08 19:38:49 -06:00

title, homepage, tagline, alias, description
title homepage tagline alias description
Go https://golang.org Go makes it easy to build simple, reliable, and efficient software. go See https://webinstall.dev/go

Alias for https://webinstall.dev/go.

To update or switch versions, run webi go@stable (or @v1.21, @beta, etc).

Files

~/.config/envman/PATH.env
~/.local/opt/go/
~/go/

Cheat Sheet

Go is designed, through and through, to make Software Engineering easy. It's fast, efficient, reliable, and something you can learn in a weekend.

If you subscribe to The Zen of Python, you'll love > Go.

You may also want to install the Go IDE tooling: go-essentials.

Hello World

  1. Make and enter your project directory

    mkdir -p ./hello/cmd/hello
    pushd ./hello/
    
  2. Initialize your go.mod to your git repository url:

    go mod init github.com/example/hello
    
  3. Create a hello.go

    cat << EOF >> ./cmd/hello/hello.go
    package main
    
    import (
      "fmt"
    )
    
    func main () {
      fmt.Println("Hello, World!")
    }
    EOF
    
  4. Format, build, and run your ./hello

    go fmt ./...
    go build -o hello ./cmd/hello/
    ./hello
    

    You should see your output:

    > Hello, World!
    

How to run a Go program as a service

On Linux:

# Install serviceman (compatible with systemd)
webi serviceman
# go into your programs 'opt' directory
pushd ./hello/

# swap 'hello' and './hello' for the name of your project and binary
serviceman add --name 'hello' -- \
    ./hello

# Restart the logging service
sudo systemctl restart systemd-journald