vise/go/resource/fs.go
2023-03-31 10:52:04 +01:00

26 lines
390 B
Go

package resource
import (
"context"
)
type FsResource struct {
path string
ctx context.Context
}
func NewFsResource(path string, ctx context.Context) (FsResource) {
return FsResource{
path: path,
ctx: ctx,
}
}
func(fs *FsResource) Get(sym string) (string, error) {
return "", nil
}
func(fs *FsResource) Render(sym string, values []string) (string, error) {
return "", nil
}