Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added tests

  • Loading branch information...
commit af51a17b161bd5de44e46a241f5dd0e7b0b7b29c 1 parent ab407b0
@treeder treeder authored
Showing with 18 additions and 0 deletions.
  1. +7 −0 Makefile
  2. +11 −0 golog_test.go
View
7 Makefile
@@ -0,0 +1,7 @@
+include $(GOROOT)/src/Make.inc
+
+TARG=golog
+GOFILES=\
+ golog.go\
+
+include $(GOROOT)/src/Make.pkg
View
11 golog_test.go
@@ -0,0 +1,11 @@
+package golog
+
+import (
+ "testing"
+)
+
+func TestLogger(t *testing.T) {
+ logger := NewLogger()
+ logger.Debugln("debug hi")
+ logger.Infoln("info hi")
+}
Please sign in to comment.
Something went wrong with that request. Please try again.