debug

package
v1.3.20 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 2 Imported by: 4

Documentation

Overview

Package provides debug utilities

  • Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(_ bool, _ ...any)

func AssertFunc

func AssertFunc(_ func() bool, _ ...any)

func AssertMutexLocked

func AssertMutexLocked(_ *sync.Mutex)

func AssertNoErr

func AssertNoErr(_ error)

func AssertNotPstr added in v1.3.16

func AssertNotPstr(any)

func AssertRWMutexLocked

func AssertRWMutexLocked(_ *sync.RWMutex)

func AssertRWMutexRLocked

func AssertRWMutexRLocked(_ *sync.RWMutex)

func Assertf

func Assertf(_ bool, _ string, _ ...any)

func FailTypeCast

func FailTypeCast(any)

func Func

func Func(_ func())

func Handlers

func Handlers() map[string]http.HandlerFunc

func Infof

func Infof(_ string, _ ...any)

func ON

func ON() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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