Move tests to snapshots

This commit is contained in:
Ben Kraft
2020-07-15 17:35:47 -07:00
parent 3b80f09c79
commit 279228f9a4
18 changed files with 204 additions and 131 deletions
+19
View File
@@ -0,0 +1,19 @@
type Response struct {
User *struct {
Id string `json:"id"`
} `json:"user"`
}
type role string
const (
studentRole role = "STUDENT"
teacherRole role = "TEACHER"
)
type userQueryInput struct {
Email *string `json:"email"`
Name *string `json:"name"`
Id *string `json:"id"`
Role *role `json:"role"`
}