Add comment to interface method ()

This commit is contained in:
sunboyy 2022-05-16 22:37:03 +07:00 committed by GitHub
parent 440b92a742
commit 0a1d5c8545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 124 additions and 190 deletions
internal/generator

View file

@ -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"}},