You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
429 B

package http
import (
"go-common/app/tool/saga/model"
"go-common/library/log"
bm "go-common/library/net/http/blademaster"
"go-common/library/net/http/blademaster/binding"
)
func buildContributors(c *bm.Context) {
var (
err error
repo = &model.RepoInfo{}
)
if err = c.BindWith(repo, binding.JSON); err != nil {
log.Error("BindWith error(%v)", err)
return
}
c.JSON(nil, svc.HandleBuildContributors(c, repo))
}