You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
330 B

  1. package modelInterface
  2. // 因为我也不确定项目要不要多人维护 所以定义了CURD接口 作为接口参考
  3. // 由于很多接口使用Restful模式 暂时不用泛型 有需要可以iss提供示例
  4. type CURD interface {
  5. Create() (error, CURD)
  6. Updata() (error, CURD)
  7. Read() (error, CURD)
  8. Delete() (error, CURD)
  9. }