route for silvermobi frontend and backend
This commit is contained in:
@@ -44,7 +44,7 @@ func (h *ApplicationHandler) Groups(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
resp, err := h.services.GRPC.GroupsManagement.GetGroups(context.TODO(), request)
|
||||
if err != nil {
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
w.WriteHeader(http.StatusInternalServerError)
|
||||
return
|
||||
|
||||
@@ -1,23 +1,27 @@
|
||||
package application
|
||||
package application
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func (h *ApplicationHandler) SilvermobiBookingList(w http.ResponseWriter, r *http.Request ) {
|
||||
func (h *ApplicationHandler) SilvermobiBookingList(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
|
||||
|
||||
h.Renderer.SilvermobiBookingList(w, r)
|
||||
fmt.Println("SilverBookingR")
|
||||
|
||||
}
|
||||
|
||||
func (h *ApplicationHandler) SilvermobiBookingCreate(w http.ResponseWriter, r *http.Request){
|
||||
func (h *ApplicationHandler) SilvermobiBookingCreate(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Println("SilverBookingC")
|
||||
}
|
||||
|
||||
func (h *ApplicationHandler) SilvermobiBookingUpdate(w http.ResponseWriter, r *http.Request){
|
||||
func (h *ApplicationHandler) SilvermobiBookingUpdate(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Println("SilverBookingU")
|
||||
}
|
||||
|
||||
func (h *ApplicationHandler) SilvermobiBookingDelete(w http.ResponseWriter, r *http.Request){
|
||||
func (h *ApplicationHandler) SilvermobiBookingDelete(w http.ResponseWriter, r *http.Request) {
|
||||
fmt.Println("SilverBookingD")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user