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>
|
1
error.go
1
error.go
@ -16,6 +16,7 @@ func(this *Error)GetError()error{
|
||||
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