forked from golang/hotime
This commit is contained in:
parent
4026a02235
commit
bc1127e5f6
8
.idea/php.xml
Normal file
8
.idea/php.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PhpUnit">
|
||||
<phpunit_settings>
|
||||
<PhpUnitSettings load_method="CUSTOM_LOADER" />
|
||||
</phpunit_settings>
|
||||
</component>
|
||||
</project>
|
3
error.go
3
error.go
@ -13,9 +13,10 @@ func(this *Error)GetError()error{
|
||||
|
||||
}
|
||||
|
||||
func(this *Error)SetError(err error,loglevel... int){
|
||||
func(this *Error)SetError(err error,loglevel ...int){
|
||||
|
||||
SafeMutex("HOTIME-SYSTEM-ERR", func() interface{} {
|
||||
this.err=nil
|
||||
if err==nil{
|
||||
this.err=err
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user