ideas

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

The ideas package contains code that is not being used, but that we might use some day and include, but right now we don't want to support it. Do not link to this code, as the package will likely change. If you have a use for it, suggest a package to put it in.

Index

Constants

This section is empty.

Variables

View Source
var MaxStackDepth = 50

Functions

func FormatStackTrace

func FormatStackTrace(trace []StackFrame) (out string)

func GetSlice

func GetSlice(i interface{}) []interface{}

Given an interface that represents a slice of arbitrary values, GetSlice returns a slice of null interfaces to those values

func IsSlice

func IsSlice(s interface{}) bool

Types

type StackFrame

type StackFrame struct {
	File string
	Line int
	Func string
}

A component of a stack trace

func GetStackTrace

func GetStackTrace(skip int) (trace []StackFrame)

GetStackTrace returns an array of stack frames, minus "skip" frames

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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