Skip to content
This repository was archived by the owner on Dec 20, 2020. It is now read-only.

Latest commit

 

History

71 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SYSU Train System

一些不确定的地方

暂定的设计方法是 #model: 包括负责和数据库交互的类、经常用到的类 #controller: 分为三个文件,假定该系统名为table,则有 table_data : 负责路由并将数据传给template table_handle : table_data内调用table_handle的函数,暂定是包含复杂逻辑的函数 table_utils : 暂定是table_handle和table_data中重复使用的逻辑

问题在于utils和handle之间的区分,经常会遇到将handle中的复杂逻辑拆分之后,就完全变成多个utils了 所以暂定想法是,handle内重复出现三次以上的逻辑就抽出来放入utils

TODO

timeline

About

golang

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages