vis

command
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command vis is vis's build tool. It never wraps the go command.

go tool vis gen [dir]       write vis_gen.go from the package's // vis: directives
go tool vis vet [packages]  check for mistakes in using vis that compile but are wrong
go tool vis diff [-check] [ref] [packages]
                            what the packages declare (knobs, signals, SLOs, rules), against the
                            same packages at a git revision (HEAD by default), for review; with
                            -check it exits 1 when a change gives automation more room, for CI

Run gen from go generate, with this line in any file of the package:

//go:generate go tool vis gen

Jump to

Keyboard shortcuts

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