MCPcopy Create free account
hub / github.com/chanify/chanify / init

Function init

model/model.go:43–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41)
42
43func init() {
44 defaultChannel, _ = proto.Marshal(&pb.Channel{
45 Type: pb.ChanType_Sys,
46 Code: pb.ChanCode_Uncategorized,
47 })
48 timelineChannel, _ = proto.Marshal(&pb.Channel{
49 Type: pb.ChanType_Sys,
50 Code: pb.ChanCode_TimeSets,
51 })
52}
53
54// InitDB with DSN
55func InitDB(dsn string) (DB, error) {

Callers

nothing calls this directly

Calls 1

MarshalMethod · 0.80

Tested by

no test coverage detected