goglb

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2023 License: Unlicense Imports: 8 Imported by: 0

README

goglb

goglb lists all global variable and constans in golang module

Install

go install github.com/davidn5013/goglb@latest

Usage

Go tool for listing global variables (and constans) in go module path
  -path string
        path to module (default ".")
  -varconst
        list global variabel and constrants

In module path run:

> goglb -varconst
Globals in build\build.go:
Variables:
Version
Time
User
RootPathPrefix
Constants:
Globals in cmd\gdu\app\app.go:
Variables:
Constants:
...

Documentation

Overview

Lists all global variables (and constants) in a module path

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL