Documentation ¶
Overview ¶
Package ki provides the top-level repository for GoKi Trees: Ki = Tree in Japanese, and "Key" in English -- powerful tree structures supporting scenegraphs, programs, parsing, etc.
The sub-packages contain all the relevant code:
* ki: is the main Ki interface and Node implementation thereof.
* kit: is a type registry that ki uses in various ways and provides useful type-level properties that are used in the GoGi GUI. It also is a powerful 'kit for dealing with Go's reflect system.
* ints, floats, dirs, bitflag, atomctr, indent all provide basic Go infrastructure that one could argue should have been in the standard library, but isn't..
Directories ¶
Path | Synopsis |
---|---|
Package atomctr implements basic atomic int64 counter, used e.g., for update counter on Ki Node
|
Package atomctr implements basic atomic int64 counter, used e.g., for update counter on Ki Node |
Package bitflag provides simple bit flag setting, checking, and clearing methods that take bit position args as ints (from const int eunum iota's) and do the bit shifting from there -- although a tiny bit slower, the convenience of maintaining ordinal lists of bit positions greatly outweighs that cost -- see kit type registry for further enum management functions
|
Package bitflag provides simple bit flag setting, checking, and clearing methods that take bit position args as ints (from const int eunum iota's) and do the bit shifting from there -- although a tiny bit slower, the convenience of maintaining ordinal lists of bit positions greatly outweighs that cost -- see kit type registry for further enum management functions |
package bools does conversion to / from booleans and other go standard types
|
package bools does conversion to / from booleans and other go standard types |
Package dirs provides various utility functions in dealing with directories such as a list of all the files with a given (set of) extensions and finding paths within the Go source directory (GOPATH, etc)
|
Package dirs provides various utility functions in dealing with directories such as a list of all the files with a given (set of) extensions and finding paths within the Go source directory (GOPATH, etc) |
Package fatomic provides floating-point atomic operations
|
Package fatomic provides floating-point atomic operations |
Package indent provides trivial indentation generation methods: Tabs, Spaces, and Indent with a selector.
|
Package indent provides trivial indentation generation methods: Tabs, Spaces, and Indent with a selector. |
Package ints provides a standard Inter interface and basic functions defined on Inter types that support core things like Max, Min, Abs.
|
Package ints provides a standard Inter interface and basic functions defined on Inter types that support core things like Max, Min, Abs. |
Package ki provides the base element of GoKi Trees: Ki = Tree in Japanese, and "Key" in English -- powerful tree structures supporting scenegraphs, programs, parsing, etc.
|
Package ki provides the base element of GoKi Trees: Ki = Tree in Japanese, and "Key" in English -- powerful tree structures supporting scenegraphs, programs, parsing, etc. |
Package kit provides various reflect type functions for GoKi system, including:
|
Package kit provides various reflect type functions for GoKi system, including: |
Package nptime provides a non-pointer version of the time.Time struct that does not have the location pointer information that time.Time has, which is more efficient from a memory management perspective, in cases where you have a lot of time values being kept: https://segment.com/blog/allocation-efficiency-in-high-performance-go-services/
|
Package nptime provides a non-pointer version of the time.Time struct that does not have the location pointer information that time.Time has, which is more efficient from a memory management perspective, in cases where you have a lot of time values being kept: https://segment.com/blog/allocation-efficiency-in-high-performance-go-services/ |
Package runes provides a small subset of functions that are found in strings, bytes standard packages, for rune slices.
|
Package runes provides a small subset of functions that are found in strings, bytes standard packages, for rune slices. |
Package sliceclone provides those basic slice cloning methods that I finally got tired of rewriting all the time.
|
Package sliceclone provides those basic slice cloning methods that I finally got tired of rewriting all the time. |
Package walki provides basic tree walking functions for iterative traversal of the tree in up / down directions.
|
Package walki provides basic tree walking functions for iterative traversal of the tree in up / down directions. |
Click to show internal directories.
Click to hide internal directories.