Example #1
0
File: main.go Project: 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)
	}

}
Example #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())
	}

}
Example #3
0
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())
	}

}