Mod
Inherit from ModFileDO
Primary key: oid: int
schema Mod extends ModFileDO {
@primary oid: int,
path: string,
name: string,
go_version: string
}
Mod::getPath
/**
* @brief gets the path of this element.
* @return string
*/
- Parameter
self
:Mod
- Return
string
pub fn getPath(self: Mod) -> string;
Mod::getARequire
- Parameter
self
:Mod
- Return
string
pub fn getARequire(self: Mod) -> string;
Mod::getGoVersion
/**
* @brief gets the go version of this element.
* @return string
*/
- Parameter
self
:Mod
- Return
string
pub fn getGoVersion(self: Mod) -> string;
Mod::__all__
Data constraint method.
pub fn __all__(db: GoDB) -> *Mod;
Mod::getName
/**
* @brief gets the name of this element.
* @return string
*/
- Parameter
self
:Mod
- Return
string
pub fn getName(self: Mod) -> string;
Mod::getModDepsCount
- Parameter
self
:Mod
- Return
int
pub fn getModDepsCount(self: Mod) -> int;