tired of typing "struct{}{}"

This commit is contained in:
Matthias Radestock committed 2015-04-06 11:53:51 +01:00
1 parent 6db12d682e
commit e8e9a43abd
5 files changed
+10 -8

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ import (
"net"
)
var void = struct{}{}
func checkFatal(e error) {
if e != nil {
log.Fatal(e)