MCPcopy Create free account
hub / github.com/astercloud/aster / main

Function main

examples/config-paths/main.go:14–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12)
13
14func main() {
15 fmt.Println("📁 Cross-Platform Paths 示例")
16 fmt.Println("================================")
17
18 // 1. 标准路径
19 demonstrateStandardPaths()
20
21 // 2. 便捷方法
22 demonstrateConvenienceMethods()
23
24 // 3. 确保目录存在
25 demonstrateEnsureDir()
26
27 fmt.Println("\n✅ Cross-Platform Paths 示例完成!")
28}
29
30func demonstrateStandardPaths() {
31 fmt.Println("\n📋 标准应用路径")

Callers

nothing calls this directly

Calls 3

demonstrateStandardPathsFunction · 0.85
demonstrateEnsureDirFunction · 0.85

Tested by

no test coverage detected