go-admingo-admin
  • Guide
  • Development
    • Advanced
    • Commands
  • Advanced
  • Help
  • GitHub
  • Changelog
⌘ K
The app Command
The config Command
The migrate Command
The server Command
The version Command
The install Command
Last updated:
Open-source MIT Licensed | Copyright © 2020-present
Powered by go-admin-team

TABLE OF CONTENTS

‌
‌
‌
‌

Checking the Version

The version command prints the go-admin version number of the current binary — commonly used to confirm that what's running in production matches what's expected.

sh
$ ./go-admin version

Sample output:

2.4.0

The command takes no additional flags; the value comes from the Version variable in common/global/adm.go.

When to Use It

  1. Confirm the deployed version: when something's misbehaving, check the running binary's version first — otherwise you may be comparing old behavior against new docs;
  2. When filing an issue: include this command's output when reporting a problem on go-admin issues, so the issue can be pinned to the right version;
  3. After an upgrade: run it once to confirm the new binary is actually the one running.

INFO

It also works when running from source:

sh
$ go run main.go version

WARNING

Where to get help:

If anything in this guide is unclear, please open an issue.