文件名称:gomdbuilder:基于Go的DSL来构建降价
文件大小:4KB
文件格式:ZIP
更新时间:2024-06-04 21:44:00
markdown golang dsl Go
Gomdbuilder 基于Go的DSL来构建降价 package main import ( "io/ioutil" . "github.com/JinWuZhao/gomdbuilder" ) func main () { doc := Doc ( H1 ( "Gomdbuilder" ), P ( "A Go based DSL for building markdown" ), H1 ( "Example" ), P ( "Example: " , Ln ( "example.go" , "example/example.go" )), P ( "Result:" , Ln ( "example.md" , "example/example.md" )), ) ioutil . WriteFile ( "example.md" , [] byte
【文件预览】:
gomdbuilder-master
----base.go(412B)
----LICENSE(1KB)
----README.md(672B)
----example()
--------example.go(1KB)
--------example.md(719B)
----markdown.go(3KB)