go-nunu / nunu

A CLI tool for building Go applications.

Home Page:https://go-nunu.github.io/nunu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

测试文件调用路由的问题

Yuni7 opened this issue · comments

commented

image
image

在新建了一个menusHandler的情况下。user_test 的setupRouter 里面 在使用到NewServerHTTP()的时候 也需要传入menusHandler。
我应该怎么改进它呢?