Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
bom_server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4a62586c
authored
May 08, 2021
by
hcy001
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
bom4
parent
8b39a7fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
internal/common/common.go
internal/common/common.go
View file @
4a62586c
...
@@ -12,6 +12,7 @@ import (
...
@@ -12,6 +12,7 @@ import (
"regexp"
"regexp"
"strconv"
"strconv"
"strings"
"strings"
"time"
)
)
/*
/*
...
@@ -35,7 +36,7 @@ func PrintDebug(str ...interface{}) {
...
@@ -35,7 +36,7 @@ func PrintDebug(str ...interface{}) {
if
flag
==
0
{
if
flag
==
0
{
return
return
}
}
temp
:=
"---"
+
strconv
.
FormatInt
(
php2go
.
Time
(),
10
);
temp
:=
"---"
+
time
.
Now
()
.
Format
(
"2006-01-02 15:04:05"
);
for
_
,
jsonStr
:=
range
str
{
for
_
,
jsonStr
:=
range
str
{
if
v
,
p
:=
jsonStr
.
(
string
);
p
{
if
v
,
p
:=
jsonStr
.
(
string
);
p
{
temp
=
temp
+
"---"
+
v
temp
=
temp
+
"---"
+
v
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment