Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Review and refactor function StructsFromRows()... #34

Open
chebrolus opened this issue Nov 27, 2017 · 1 comment
Open

Review and refactor function StructsFromRows()... #34

chebrolus opened this issue Nov 27, 2017 · 1 comment

Comments

@chebrolus
Copy link
Contributor

...
for better readability/maintainability and to confirm to gocyclo complexity

@haomingzhang
Copy link
Contributor

haomingzhang commented Nov 28, 2017

In most cases, callers should call db.QueryStructs instead of calling StructsFromRows directly. However, it's useful in the cases that the caller is not using apid.Db.
I can add examples on the usage of StructsFromRows in func description, as well as gocyclo complexity. Do you have specific improvements in mind?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants