1// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package c
6
7import (
8	"./a"
9	"./b"
10)
11
12type HandlerFunc func(*string)
13
14func RouterInit() {
15	//home API
16	homeIndex := &a.IndexController{}
17	GET("/home/index/index", homeIndex.Index)
18	//admin API
19	adminIndex := &b.IndexController{}
20	GET("/admin/index/index", adminIndex.Index)
21	return
22}
23
24func GET(path string, handlers ...HandlerFunc) {
25	return
26}
27