1 //go:build ignore 2 // +build ignore 3 4 package main 5 6 import ( 7 "fmt" 8 "html/template" 9 "os" 10 11 "github.com/opencontainers/runtime-spec/specs-go" 12 ) 13 14 var markdownTemplateString = ` 15 16 **Specification Version:** *{{.}}* 17 18 ` 19 20 var markdownTemplate = template.Must(template.New("markdown").Parse(markdownTemplateString)) 21 22 func main() { 23 if err := markdownTemplate.Execute(os.Stdout, specs.Version); err != nil { 24 fmt.Fprintln(os.Stderr, err) 25 } 26 } 27