feat: add image
Some checks failed
Go Bump / bump (push) Successful in 45s
Deploy / deploy (push) Failing after 2m19s

This commit is contained in:
xuu
2023-11-05 08:30:15 -07:00
parent 1d5572d8d2
commit 4fdff840f6
7 changed files with 293 additions and 19 deletions

View File

@@ -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