version

package
v0.0.0-...-3e353e7 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithContext

func WithContext(ctx context.Context, ver *Version) context.Context

Add version to context

Types

type Extension

type Extension struct {
	Path string
}

Extension for version printing

func (*Extension) InitRouter

func (e *Extension) InitRouter(ctx context.Context, router *router.Router, tracer opentracing.Tracer)

type Version

type Version = version.Version

Version type alias

func Get

func Get(ctx context.Context) *Version

Get version from context

Jump to

Keyboard shortcuts

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