Help us shape the future of Go! Take the 2026 Go Developer Survey

stackversion

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package stackversion records which obol version last brought the stack up, so a different CLI version can say the update is not finished yet.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Record

func Record(cfg *config.Config)

Record notes that this CLI version brought the stack up. Best effort: a missing record only means a spurious "finish the update".

func Skew

func Skew(cfg *config.Config) (stackVersion string, skewed bool)

Skew compares the version that last brought the stack up with this CLI. stackVersion is "" for stacks last brought up before the record existed (obol < 0.17.1). It never reports skew without an initialized stack, or for development builds.

func SkewMessage

func SkewMessage(stackVersion string) string

SkewMessage describes a skew reported by Skew.

Types

This section is empty.

Jump to

Keyboard shortcuts

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