tags

package
v2.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 2 Imported by: 4

Documentation

Overview

Package tags implements statter tags convenience functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Int

func Int(k string, v int) statter.Tag

Int returns an int tag with the give key and value.

func Int64

func Int64(k string, v int64) statter.Tag

Int64 returns an int64 tag with the give key and value.

func StatusCode

func StatusCode(k string, v int) statter.Tag

StatusCode return a tag with the given key and the status code int the form '2xx'.

func Str

func Str(k, v string) statter.Tag

Str returns a string tag with the give key and value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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