Golang testing
From wikinotes
Go ships with a test suite.
Example
TODO:
finish
package mypackage func Hello(name string) string { return "Hello, " + name }// myproject/mypackage/mylib_test.go package mypackage import "testing"
Go ships with a test suite.
TODO:
finish
package mypackage func Hello(name string) string { return "Hello, " + name }// myproject/mypackage/mylib_test.go package mypackage import "testing"