8e5b17cf13
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
25 lines
417 B
Go
25 lines
417 B
Go
// +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)
|
|
}
|
|
}
|