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

startuptrace

package
v0.57.13 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package startuptrace provides compile-time gated startup attribution tracing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(_ context.Context, _ string, _ string)

Log is a no-op startup attribution trace log.

func Logf

func Logf(_ context.Context, _ string, _ string, _ ...any)

Logf is a no-op formatted startup attribution trace log.

Types

type Task

type Task struct{}

Task is a no-op startup attribution trace task.

func NewTask

func NewTask(ctx context.Context, _ string) (context.Context, Task)

NewTask returns ctx and a no-op startup attribution trace task.

func (Task) End

func (t Task) End()

End ends the no-op startup attribution trace task.

Jump to

Keyboard shortcuts

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