1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-02 07:44:51 +00:00

add yaml support

This commit is contained in:
Daishan Peng
2018-05-24 10:28:05 -07:00
committed by Darren Shepherd
parent 79b91ea33c
commit 59c4a298e8
7 changed files with 80 additions and 20 deletions

View File

@@ -25,7 +25,7 @@ var data =
)
type HTMLResponseWriter struct {
JSONResponseWriter
EncodingResponseWriter
}
func (h *HTMLResponseWriter) start(apiContext *types.APIContext, code int, obj interface{}) {