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

context

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Code generated by define_gene; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	//go:embed context.d.ts
	ContextDefine   []byte
	ContextDeclared = map[string]any{
		"background":        context.Background,
		"cause":             context.Cause,
		"DeadlineExceeded":  context.DeadlineExceeded,
		"withCancel":        context.WithCancel,
		"withDeadline":      context.WithDeadline,
		"withTimeoutCause":  context.WithTimeoutCause,
		"withValue":         context.WithValue,
		"afterFunc":         context.AfterFunc,
		"todo":              context.TODO,
		"withDeadlineCause": context.WithDeadlineCause,
		"Canceled":          context.Canceled,
		"withTimeout":       context.WithTimeout,
		"withCancelCause":   context.WithCancelCause,
		"withoutCancel":     context.WithoutCancel,
	}
)

Functions

This section is empty.

Types

type ContextModule

type ContextModule struct{}

func (ContextModule) Exports

func (S ContextModule) Exports() map[string]any

func (ContextModule) Identity

func (S ContextModule) Identity() string

func (ContextModule) TypeDefine

func (S ContextModule) TypeDefine() []byte

Jump to

Keyboard shortcuts

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