tired of typing "struct{}{}"
This commit is contained in:
1 parent
6db12d682e
commit
e8e9a43abd
5 files changed
+10
-8
No files matched your search
@@ -10,6 +10,8 @@ import (
|
||||
"net"
|
||||
)
|
||||
|
||||
var void = struct{}{}
|
||||
|
||||
func checkFatal(e error) {
|
||||
if e != nil {
|
||||
log.Fatal(e)
|
||||
|
||||
Reference in new issue
Block a user