Skip to content

Commit

Permalink
fix unexported
Browse files Browse the repository at this point in the history
  • Loading branch information
sandyskies committed Dec 3, 2018
1 parent 56b8642 commit b9c0884
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions tars/protocol/res/configf/Config_IF.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package configf
import (
"context"
"fmt"

m "github.com/TarsCloud/TarsGo/tars/model"
"github.com/TarsCloud/TarsGo/tars/protocol/codec"
"github.com/TarsCloud/TarsGo/tars/protocol/res/requestf"
Expand Down Expand Up @@ -1210,6 +1211,8 @@ func checkConfig(ctx context.Context, _val interface{}, _os *codec.Buffer, _is *
_ = ty
return nil
}

//ListConfigByInfo body function
func ListConfigByInfo(ctx context.Context, _val interface{}, _os *codec.Buffer, _is *codec.Reader, withContext bool) (err error) {
var length int32
var have bool
Expand Down Expand Up @@ -1353,6 +1356,8 @@ func checkConfigByInfo(ctx context.Context, _val interface{}, _os *codec.Buffer,
_ = ty
return nil
}

//ListAllConfigByInfo body function
func ListAllConfigByInfo(ctx context.Context, _val interface{}, _os *codec.Buffer, _is *codec.Reader, withContext bool) (err error) {
var length int32
var have bool
Expand Down
2 changes: 1 addition & 1 deletion tars/protocol/res/requestf/RequestPacket.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (st *RequestPacket) ReadFrom(_is *codec.Reader) error {
return err
}

err, _ = _is.SkipTo(codec.MAP, 9, true)
err, = _is.SkipTo(codec.MAP, 9, true)
if err != nil {
return err
}
Expand Down

0 comments on commit b9c0884

Please sign in to comment.