preview api

This commit is contained in:
微凉
2021-10-31 21:27:47 +08:00
parent a3f1553d40
commit 6313939e8c
6 changed files with 111 additions and 33 deletions

View File

@ -16,6 +16,10 @@ import (
type Native struct {
}
func (n Native) Preview(path string, account *model.Account) (interface{}, error) {
return nil,fmt.Errorf("no need")
}
func (n Native) Items() []Item {
return []Item{
{