Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteJson ¶
func WriteJson(w http.ResponseWriter, d any)
Types ¶
type JsonResponse ¶
type JsonResponse interface {
Result(d any)
}
func NewJsonResponse ¶
func NewJsonResponse(w http.ResponseWriter) JsonResponse
Click to show internal directories.
Click to hide internal directories.