From 06df78573b0a42e372db519ba6895c43c47af59f Mon Sep 17 00:00:00 2001 From: fifsky Date: Thu, 9 Apr 2020 15:42:49 +0800 Subject: [PATCH] Update README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7be885c..00bfa1a 100644 --- a/README.md +++ b/README.md @@ -395,7 +395,7 @@ Relation Where: ```go moment := &MomentList{} -err := gosql.Relation("User" , func(b *gosql.ModelStruct) { +err := gosql.Relation("User" , func(b *gosql.Builder) { //this is builder instance, b.Where("gender = 0") }).Get(moment , "select * from moments")