示例#1
0
文件: main.go 项目: xiam/luminos
func main() {
	// Software properties.
	cli.Name = "Luminos Markdown Server"
	cli.Homepage = "https://menteslibres.net/luminos"
	cli.Author = "J. Carlos Nieto"
	cli.Version = Version
	cli.AuthorEmail = "*****@*****.**"

	// Shows banner
	cli.Banner()

	// Dispatches the command.
	if err := cli.Dispatch(); err != nil {
		log.Fatal("Could not start Luminos: ", err)
	}

}
示例#2
0
func main() {
	var err error

	// Software properties.
	cli.Name = "Luminos Markdown Server"
	cli.Homepage = "https://menteslibres.net/luminos"
	cli.Author = "Carlos Reventlov"
	cli.Version = Version
	cli.AuthorEmail = "*****@*****.**"

	// Shows banner
	cli.Banner()

	// Dispatches the command.
	err = cli.Dispatch()

	if err != nil {
		log.Fatalf("Could not start Luminos: %s\n", err.Error())
	}

}
示例#3
0
文件: main.go 项目: santihbc/latex
func main() {
	var err error

	// Software properties.
	cli.Name = "LaTeX Server"
	cli.Homepage = "https://menteslibres.net/api/latex"
	cli.Author = "Carlos Reventlov"
	cli.Version = Version
	cli.AuthorEmail = "*****@*****.**"

	// Shows banner
	cli.Banner()

	// Dispatches the command.
	err = cli.Dispatch()

	if err != nil {
		log.Fatalf("Failed to start: %s\n", err.Error())
	}

}