meta

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

package meta implements easy use of metadata for ordinary go types like functions, interfaces.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Caller

func Caller() string

Caller return file and line number information based on runtime.Caller but in string form with at most 3-tier directories

func CallerSkip

func CallerSkip(skip int) string

CallerSkip is similar to Caller but with skip specified

note: meta.CallerSkip(1) is equivalent to runtime.Caller(0)

Types

This section is empty.

Jump to

Keyboard shortcuts

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