package router

import (
	"iris-demo/controller"

	"github.com/kataras/iris/v12"
)

func CustomRegister(app *iris.Application) {
	customTeacherRouter := app.Party("/admin/teacher")
	{
		var apiController controller.Teacher
		customTeacherRouter.Get("/", apiController.List)
	}
}
