mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
docs: improve docs coverage
Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
d930adbd49
commit
2d9c1f52ea
@@ -733,6 +733,10 @@ var SwaggerInfo = swaggerInfo{Schemes: []string{}}
|
||||
|
||||
type s struct{}
|
||||
|
||||
func New() *s {
|
||||
return &s{}
|
||||
}
|
||||
|
||||
func (s *s) ReadDoc() string {
|
||||
t, err := template.New("swagger_info").Funcs(template.FuncMap{
|
||||
"marshal": func(v interface{}) string {
|
||||
|
||||
Reference in New Issue
Block a user