data.gid #
fn new #
fn new(txt_ string) !GID
txt is optional and is ...:.. first ... is circle dns name which is name_fixed strings and . last is id in string format
fn new_from_parts #
fn new_from_parts(circle_ string, cid u32) !GID
struct GID #
struct GID {
pub mut:
circle string // unique dns name for the circle
cid u32 // unique id inside the circle
}
fn (GID) str #
fn (gid GID) str() string
returns a string representation in "circle:id" format
fn (GID) empty #
fn (gid GID) empty() bool
Check if the GID is empty (either circle is empty or cid is 0)
fn (GID) equals #
fn (gid GID) equals(other GID) bool
Compare two GIDs for equality