runtime

package
v0.1.3-0...-08ec195 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: BSD-4-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GOID

func GOID() (goid int64)

func TypeByString

func TypeByString(s string) (reflect.Type, error)

TypeByString tries to find a reflect.Type corresponding to the type specified by s. It calls the unexported `reflect.typesByString` to do so. It will fail if the type can't be found or if more than one type with the given name exist. This relies on the following assumptions:

  • The signature of `reflect.typesByString` must not change
  • The value returned by `reflect.TypeOf(0)` is a `*reflect.rtype`
  • The `reflect.Value` struct contains a `ptr` field of type `unsafe.Pointer`

Types

This section is empty.

Jump to

Keyboard shortcuts

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