MCPcopy Create free account
hub / github.com/Agelessbaby/BloomBlog / GetConcurrentPath

Function GetConcurrentPath

util/env.go:16–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14)
15
16func GetConcurrentPath() string {
17 _, filename, _, _ := runtime.Caller(0)
18 return path.Dir(filename) //return the dir that the code currently runs on
19}
20
21const (
22 TOKEN_EXPIRE = time.Hour * 24 * 7

Callers 1

env.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected