Documentation ¶ Index ¶ Constants func DoAnnotated(ctx context.Context, fn func(context.Context), labelMap ...Labels) type Labels Constants ¶ View Source const ( // FnKey refers to the function name. FnKey = "fn" // FileKey refers to the file name. FileKey = "file" // LineKey refers to the line number. LineKey = "line" ) Variables ¶ This section is empty. Functions ¶ func DoAnnotated ¶ func DoAnnotated(ctx context.Context, fn func(context.Context), labelMap ...Labels) Types ¶ type Labels ¶ type Labels map[string]any Source Files ¶ View all Source files flags_default.go logging.go pprof_default.go Click to show internal directories. Click to hide internal directories.