You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
239 B

3 years ago
  1. package api
  2. import (
  3. "git.aiterp.net/lucifer/new-server/models"
  4. "github.com/gin-gonic/gin"
  5. )
  6. func DriverKinds(r gin.IRoutes) {
  7. r.GET("", handler(func(c *gin.Context) (interface{}, error) {
  8. return models.ValidDriverKinds, nil
  9. }))
  10. }