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
04431a7a
authored
2014-10-17 12:59:24 +0400
by
supar
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix function name fmt.Stprintf -> fmt.Sprintf
1 parent
b00c42b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
orm/cmd_utils.go
orm/cmd_utils.go
View file @
04431a7
...
...
@@ -273,13 +273,13 @@ func getColumnDefault(fi *fieldInfo) string {
if
fi
.
colDefault
{
if
!
fi
.
initial
.
Exist
()
{
v
=
fmt
.
S
t
rintf
(
t
,
""
)
v
=
fmt
.
Srintf
(
t
,
""
)
}
else
{
v
=
fmt
.
S
t
rintf
(
t
,
fi
.
initial
.
String
())
v
=
fmt
.
S
p
rintf
(
t
,
fi
.
initial
.
String
())
}
}
else
{
if
!
fi
.
null
{
v
=
fmt
.
S
t
rintf
(
t
,
d
)
v
=
fmt
.
S
p
rintf
(
t
,
d
)
}
}
...
...
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