Documentation ¶
Index ¶
- func GenerateUUID() string
- func ImportLessonDefs(syringeConfig *config.SyringeConfig, lessonDir string) (map[int32]*pb.LessonDef, error)
- func IsEmptyValue(e reflect.Value) bool
- func IsShortID(id string) bool
- func StartAPI(ls *scheduler.LessonScheduler, grpcPort, httpPort int, ...) error
- func TruncateID(id string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportLessonDefs ¶ added in v0.1.4
func IsEmptyValue ¶ added in v0.1.4
func TruncateID ¶
TruncateID returns a shorthand version of a string identifier for convenience. A collision with other shorthands is very unlikely, but possible. In case of a collision a lookup with TruncIndex.Get() will fail, and the caller will need to use a langer prefix, or the full-length Id.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.