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

vmmodel.go 488 B

123456789101112131415161718192021222324
  1. package models
  2. import "github.com/zeromicro/go-zero/core/stores/sqlx"
  3. var _ VmModel = (*customVmModel)(nil)
  4. type (
  5. // VmModel is an interface to be customized, add more methods here,
  6. // and implement the added methods in customVmModel.
  7. VmModel interface {
  8. vmModel
  9. }
  10. customVmModel struct {
  11. *defaultVmModel
  12. }
  13. )
  14. // NewVmModel returns a model for the database table.
  15. func NewVmModel(conn sqlx.SqlConn) VmModel {
  16. return &customVmModel{
  17. defaultVmModel: newVmModel(conn),
  18. }
  19. }

PCM is positioned as Software stack over Cloud, aiming to build the standards and ecology of heterogeneous cloud collaboration for JCC in a non intrusive and autonomous peer-to-peer manner.