Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUuid ¶
func RegisterUuid(uuid string, val interface{})
func RemoveUuid ¶
func RemoveUuid(uuid string)
func SerialUuid ¶
func SerialUuid() string
* this is one of the more controversial desgin choices I made here is the single souce of truth for assigns uuids to objects it keeps a map of all uuids and a pointer to that uuid so given a uuid, its type can be found The problem here is uuids don't play well with large scale databases, and it would be better just to have the database be the one assigning uuid
Types ¶
type Identifiable ¶
* Identifiable are used throughout the design, its just something that can be Identified by type and uuid
Click to show internal directories.
Click to hide internal directories.