16 lines
231 B
Go
16 lines
231 B
Go
package opt
|
|
|
|
import "path/filepath"
|
|
|
|
const (
|
|
Meta = ".meta."
|
|
)
|
|
|
|
func FilePath(code string) string {
|
|
return filepath.Join(Cfg.DataPath, code)
|
|
}
|
|
|
|
func MetaPath(code string) string {
|
|
return filepath.Join(Cfg.DataPath, Meta+code)
|
|
}
|