feat: add image
This commit is contained in:
@@ -23,18 +23,6 @@ import (
|
||||
"github.com/gomarkdown/markdown/parser"
|
||||
)
|
||||
|
||||
// func init() {
|
||||
// a := &Artifact{}
|
||||
// httpsrv.RegisterModule("artifact", a.config)
|
||||
|
||||
// httpsrv.HttpRegister("artifact", httpsrv.HttpRoutes{
|
||||
// {Name: "get-path", Method: "GET", Pattern: "/a/{name}/{path:.*}", HandlerFunc: a.get},
|
||||
// {Name: "get", Method: "GET", Pattern: "/a/{name}", HandlerFunc: a.get},
|
||||
// {Name: "put", Method: "PUT", Pattern: "/a", HandlerFunc: a.put},
|
||||
// {Name: "get", Method: "GET", Pattern: "/a", HandlerFunc: a.list},
|
||||
// })
|
||||
// }
|
||||
|
||||
// artifact stores items to disk
|
||||
type artifact struct {
|
||||
store string
|
||||
|
||||
Reference in New Issue
Block a user