service_test.go 309 B

123456789101112131415161718192021
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestService(t *testing.T) {
  8. Convey("service", t, func() {
  9. t.Log("service test")
  10. })
  11. }
  12. func TestPing(t *testing.T) {
  13. Convey("ping", t, func() {
  14. var s = &Service{}
  15. s.Ping(context.Background())
  16. })
  17. }