import { ProuterRequestCallback , ProuterGroup } from './entity' ; export function routerGroup ( ) { const groupObj = { handlers : [ ] , use ( path , callback ) { groupObj . handlers . push ( { path , callback } ) ; return groupObj ; } } ; return groupObj ; }