annotation

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

README

Annotation

 

Annotation

Github top language Github language count Repository size License Github issues Github forks Github stars

About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


🎯 About

Routes are first written in the comment lines. Then the library I prepared reads these comment lines and creates automatic route functions. It provides a Symfony framework or Flask-style routing environment. It does not cause performance problems because the route function is already created.

You can help me to make it work within routing libraries other than fiber.

✨ Features

✔ gofiber/fiber route template;
🛠 net/http route template;
🛠 gorilla/mux route template;
🛠 Fjulienschmidt/httprouter route template;

🚀 Technologies

The following tools were used in this project:

  • Golang: The main language used in this project.

✅ Requirements

Before you begin, you 🏁 need to have Git and Golang installed.

🏁 Starting

# Go get the dependencies
$ go get github.com/ugurkorkmaz/annotation
package main

//go:generate go run github.com/ugurkorkmaz/annotation --directory=./example --package=example --mode=fiber --output=./example/routes.go
# Generate routes
$ go generate

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤ by Uğur Korkmaz

 

Back to top

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL