Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata: default implementation of MetaRegistry #25

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

xingjigongsi
Copy link
Collaborator

model

model_test.go Outdated Show resolved Hide resolved
model_test.go Show resolved Hide resolved
model_test.go Show resolved Hide resolved
model_test.go Show resolved Hide resolved
model.go Show resolved Hide resolved
model.go Show resolved Hide resolved
model.go Show resolved Hide resolved
model.go Show resolved Hide resolved
internal/common_fun.go Show resolved Hide resolved
model.go Show resolved Hide resolved
model.go Show resolved Hide resolved
model.go Show resolved Hide resolved
model.go Outdated
columnMetas = append(columnMetas, columnMeta)
fieldMap[columnMeta.fieldName] = columnMeta
}
TableMeta := &TableMeta{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local variable should start with lower case

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

model_test.go Outdated
@@ -26,7 +27,7 @@ func TestTagMetaRegistry(t *testing.T) {
if err != nil {
t.Fatal(err)
}
assert.NotNil(t, err)
assert.Nil(t, err)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already check the error, so we don't need to check it again

model_test.go Outdated Show resolved Hide resolved
@flycash flycash changed the title model5.1 metadata: default implementation of MetaRegistry Sep 24, 2021
@xingjigongsi xingjigongsi force-pushed the dev-model-v5.1 branch 3 times, most recently from aff0591 to 7b85b08 Compare September 24, 2021 14:57
@flycash flycash merged commit c481083 into ecodeclub:main Sep 24, 2021
@flycash flycash linked an issue Oct 14, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metadata: table metadata and columns metadata
2 participants