mirror of
https://github.com/mainflux/mainflux.git
synced 2025-05-02 22:17:10 +08:00
9 lines
140 B
Go
9 lines
140 B
Go
![]() |
package logger
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
// ExitWithError closes the current process with error code.
|
||
|
func ExitWithError(code *int) {
|
||
|
os.Exit(*code)
|
||
|
}
|