finished tag implementation
This commit is contained in:
parent
b3b62af3a4
commit
c3076c328a
28 changed files with 396 additions and 296 deletions
|
|
@ -9,6 +9,7 @@ import (
|
|||
|
||||
const (
|
||||
fileFmt = "20060102_150405"
|
||||
logFmt = "2006/01/02 15:04:05: "
|
||||
)
|
||||
|
||||
var m sync.Mutex
|
||||
|
|
@ -21,3 +22,7 @@ func FileName() string {
|
|||
}()
|
||||
return time.Now().Format(fileFmt)
|
||||
}
|
||||
|
||||
func LogTime() string {
|
||||
return time.Now().Format(logFmt)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue