mirror of
https://github.com/Ascend/ascend-docker-runtime.git
synced 2025-10-19 21:34:35 +08:00
Match-id-080f6ca948df8c7228aa4e7f2ff186c579ca37d1
This commit is contained in:
25
hook/vendor/github.com/opencontainers/runtime-spec/.tool/version-doc.go
generated
vendored
Normal file
25
hook/vendor/github.com/opencontainers/runtime-spec/.tool/version-doc.go
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
// +build ignore
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"html/template"
|
||||
"os"
|
||||
|
||||
"github.com/opencontainers/runtime-spec/specs-go"
|
||||
)
|
||||
|
||||
var markdownTemplateString = `
|
||||
|
||||
**Specification Version:** *{{.}}*
|
||||
|
||||
`
|
||||
|
||||
var markdownTemplate = template.Must(template.New("markdown").Parse(markdownTemplateString))
|
||||
|
||||
func main() {
|
||||
if err := markdownTemplate.Execute(os.Stdout, specs.Version); err != nil {
|
||||
fmt.Fprintln(os.Stderr, err)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user