xbrl

package
v0.0.0-...-12e865f Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XBRL

type XBRL struct {
	// contains filtered or unexported fields
}

func ParseXBRL

func ParseXBRL(r io.Reader) (x *XBRL, err error)

ParseXBRL reads the XBRL file contained in "r" and returns *XBRL.

func (*XBRL) Unpack

func (x *XBRL) Unpack(target interface{}, cik int) error

Unpack uses struct tags to find elements in a xbrl file. Any fields on "target" that have an "xbrl" struct tag will be filled with a value of the correct type. If no value is found for a specific element, the value will be left as a zero. An error is returned if a value is not able to be parsed.

Jump to

Keyboard shortcuts

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