【文件属性】:
文件名称:mango:从Go来源生成手册页
文件大小:45KB
文件格式:ZIP
更新时间:2021-05-21 21:50:34
Go
芒果
从Go命令的源代码生成手册页
mango是一个小的命令行实用程序,可让您从Go命令的源代码创建手册页。 它从.go文件中找到的注释和标记函数调用构建手册页。
建造
执行
go get github.com/slyrz/mango
go build github.com/slyrz/mango
建立芒果。
跑步
将一个或多个.go文件作为命令行参数传递给mango。 mango将它们视为独立的Go命令的列表,并为每个参数创建一个手册页。
mango file1.go file2.go ...
用法
源文件
// example - shows the basic usage of mango
//
// Description:
//
// It doesn't take much to create manual pages with mango. Just write dow
【文件预览】:
mango-master
----FORMAT.md(1KB)
----node.go(234B)
----LICENSE(1KB)
----mango.go(2KB)
----writer.go(3KB)
----file.go(3KB)
----README.md(2KB)
----example()
--------example.go(1020B)
--------example.png(37KB)
----builder.go(1KB)
----flag.go(4KB)
----reader.go(3KB)