parameter를 좀더 명확하게

This commit is contained in:
2023-07-10 14:30:24 +09:00
parent 8598d59ab4
commit a842845685
2 changed files with 10 additions and 7 deletions

View File

@ -22,7 +22,7 @@ func (tr *testReceiver) TargetExists(tid primitive.ObjectID) bool {
func (tr *testReceiver) TestFunc(a string, b string, c int) {
target := primitive.NewObjectID()
target[0] = byte(rand.Intn(2) * 20)
if CallOrGo(tr, target, a, b) != ErrCanExecuteHere {
if Make(tr).To(target).Call(a, b, c) != ErrCanExecuteHere {
return
}