Example #1
0
func initRoutes() {
	user := user.User{}
	user.InitUser()

	session := session.Session{}
	session.InitSession()

	place := place.Place{}
	place.InitPlace()

	post := post.Post{}
	post.InitPost()

	like := like.Like{}
	like.InitLike()

	talk := talk.Talk{}
	talk.InitTalk()

	match := match.Match{}
	match.InitMatch()

	notification := notification.Notification{}
	notification.InitNotification()

	message := message.Message{}
	message.InitMessage()

	fs := http.FileServer(http.Dir("./assets"))
	http.Handle("/Images/", fs)
}