Skip to content
Myr

docs: fix comment (#4205)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by NezhaFan · committed by GitHub · parent 1b53a47 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: voyager1 <voyager1@voyager1deMacBook-Pro.local>

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:binding/protobuf.go+1 added-1 removed
32 unmodified lines
33 }34 if err := proto.Unmarshal(body, msg); err != nil {35 return err36 }37 // Here it's same to return validate(obj), but util now we can't add37 // Here it's same to return validate(obj), but until now we can't add38 // `binding:""` to the struct which automatically generate by gen-proto39 return nil40 // return validate(obj)41}
modified:ginS/gins.go+1 added-1 removed
152 unmodified lines
153}154155// RunFd attaches the router to a http.Server and starts listening and serving HTTP requests156// through the specified file descriptor.157// Note: the method will block the calling goroutine indefinitely unless on error happens.157// Note: the method will block the calling goroutine indefinitely unless an error happens.158func RunFd(fd int) (err error) {159 return engine().RunFd(fd)160}