mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-04 12:52:28 +08:00
doc: add docment and playground demo for v2.1.19
This commit is contained in:
@@ -348,7 +348,7 @@ func MiMeType(file any) string {
|
||||
}
|
||||
|
||||
// CurrentPath return current absolute path.
|
||||
// Play: todo
|
||||
// Play: https://go.dev/play/p/s74a9iBGcSw
|
||||
func CurrentPath() string {
|
||||
var absPath string
|
||||
_, filename, _, ok := runtime.Caller(1)
|
||||
|
||||
Reference in New Issue
Block a user