Skip to content

Commit

Permalink
chore(refactor): modify interface check way (#3855)
Browse files Browse the repository at this point in the history
Signed-off-by: demoManito <1430482733@qq.com>
  • Loading branch information
demoManito authored Mar 6, 2024
1 parent 09f8224 commit 3ea8bd9
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions render/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@ type Render interface {
}

var (
_ Render = JSON{}
_ Render = IndentedJSON{}
_ Render = SecureJSON{}
_ Render = JsonpJSON{}
_ Render = XML{}
_ Render = String{}
_ Render = Redirect{}
_ Render = Data{}
_ Render = HTML{}
_ HTMLRender = HTMLDebug{}
_ HTMLRender = HTMLProduction{}
_ Render = YAML{}
_ Render = Reader{}
_ Render = AsciiJSON{}
_ Render = ProtoBuf{}
_ Render = TOML{}
_ Render = (*JSON)(nil)
_ Render = (*IndentedJSON)(nil)
_ Render = (*SecureJSON)(nil)
_ Render = (*JsonpJSON)(nil)
_ Render = (*XML)(nil)
_ Render = (*String)(nil)
_ Render = (*Redirect)(nil)
_ Render = (*Data)(nil)
_ Render = (*HTML)(nil)
_ HTMLRender = (*HTMLDebug)(nil)
_ HTMLRender = (*HTMLProduction)(nil)
_ Render = (*YAML)(nil)
_ Render = (*Reader)(nil)
_ Render = (*AsciiJSON)(nil)
_ Render = (*ProtoBuf)(nil)
_ Render = (*TOML)(nil)
)

func writeContentType(w http.ResponseWriter, value []string) {
Expand Down

0 comments on commit 3ea8bd9

Please sign in to comment.