AnP/Go/Interfaces/URLPathInterface.go

11 lines
289 B
Go

package Interfaces
type URLPathInterface interface {
FixPath(path string) string
GetAbsolutePath(path string, roots []string) string
LoadFile(path string) string
LoadBinaryFile(path string) []byte
LoadJSON(inputs any, callback func(any), only_dictionaries bool)
GetSlash() string
}