Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Err ¶
func Err(w http.ResponseWriter, err error)
Error should be able to render custom error from pkg/flypg/admin/error.go: package admin it will use errors.As to check if the error is an admin
func JSON ¶
func JSON(w http.ResponseWriter, data interface{}, status int)
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.