Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
52817fb6
authored
2014-03-18 18:00:07 -0500
by
Kyle McCullough
Committed by
astaxie
2014-05-17 02:26:49 +0800
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
allow unexported fields on model structs
1 parent
b6d63c84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
orm/models_info_m.go
orm/models_info_m.go
View file @
52817fb
...
...
@@ -43,6 +43,9 @@ func newModelInfo(val reflect.Value) (info *modelInfo) {
for
i
:=
0
;
i
<
ind
.
NumField
();
i
++
{
field
:=
ind
.
Field
(
i
)
sf
=
ind
.
Type
()
.
Field
(
i
)
if
sf
.
PkgPath
!=
""
{
continue
}
fi
,
err
=
newFieldInfo
(
info
,
field
,
sf
)
if
err
!=
nil
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment