pre-dev: initial commit
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
DESCRIPTION:
|
||||
Sample of a use-case that has fully CRUD functionality. User Id and the other
|
||||
things related to credentials are passed within the dto.
|
||||
*/
|
||||
package invokeauth
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func SomeFunc(w http.ResponseWriter, r *http.Request) {
|
||||
// if dto.User_Id > 0 {
|
||||
// query = query.Where("User_Id = ?", dto.User_Id)
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user