Add comment to interface method (#28)
This commit is contained in:
parent
440b92a742
commit
0a1d5c8545
12 changed files with 124 additions and 190 deletions
internal/generator
|
@ -32,7 +32,7 @@ func TestGenerateMongoRepository(t *testing.T) {
|
|||
Name: "UserModel",
|
||||
Fields: code.StructFields{
|
||||
idField,
|
||||
{
|
||||
code.StructField{
|
||||
Name: "Username",
|
||||
Type: code.SimpleType("string"),
|
||||
Tags: map[string][]string{"bson": {"username"}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue