示例#1
0
文件: cli.go 项目: Fepelus/clockgsl
func main() {
	fmt.Print(clockgsl.GetAllAsString())
}
示例#2
0
func stringhandler(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "text/plain; charset=utf-8")
	fmt.Fprintf(w, clockgsl.GetAllAsString())
}