github.com/gogf/gf@v1.16.9/frame/gmvc/model.go (about)

     1  // Copyright GoFrame Author(https://goframe.org). All Rights Reserved.
     2  //
     3  // This Source Code Form is subject to the terms of the MIT License.
     4  // If a copy of the MIT was not distributed with this file,
     5  // You can obtain one at https://github.com/gogf/gf.
     6  
     7  package gmvc
     8  
     9  import "github.com/gogf/gf/database/gdb"
    10  
    11  type (
    12  	// M is alias for Model, just for short write purpose.
    13  	// Deprecated, no longer suggested.
    14  	M = *gdb.Model
    15  
    16  	// Model is alias for *gdb.Model.
    17  	// Deprecated, no longer suggested.
    18  	Model = *gdb.Model
    19  )