Skip to content

Instantly share code, notes, and snippets.

@eminetto
Created September 28, 2022 11:56
Show Gist options
  • Save eminetto/22014bc585aac65d44ffb55834ce6daa to your computer and use it in GitHub Desktop.
Save eminetto/22014bc585aac65d44ffb55834ce6daa to your computer and use it in GitHub Desktop.
service_test.go
package service_test
import (
"testing"
"github.com/PicPay/example"
)
func TestFindAll(t *testing.T) {
s := example.NewService()
all, err := s.FindAll()
//asserts vão aqui
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment