This commit is contained in:
Unknown 2014-07-12 00:55:19 -04:00
parent 63cc14062a
commit 0f907301b7
9 changed files with 48 additions and 15 deletions

View file

@ -0,0 +1,13 @@
// Copyright 2014 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package v1
import (
"github.com/gogits/gogs/modules/middleware"
)
func SearchOrgRepositoreis(ctx *middleware.Context) {
}

View file

@ -15,7 +15,7 @@ type user struct {
AvatarLink string `json:"avatar"`
}
func SearchUser(ctx *middleware.Context) {
func SearchUsers(ctx *middleware.Context) {
q := ctx.Query("q")
limit, err := base.StrTo(ctx.Query("limit")).Int()
if err != nil {