I hereby claim:
- I am tacurran on github.
- I am tacurran (https://keybase.io/tacurran) on keybase.
- I have a public key ASBB606JbbK0QRB-RxrPPWMs7xRuEtG9C0IRX8aOVsfgmAo
To claim this, I am signing this object:
@arekkas | |
https://github.com/tacurran/uid | |
| /users/thomasaidancurran/gocode/src/github.com/tacurran/uid @ MBA11 (thomasaidancurran) | |
| => git push origin :uid | |
Username for 'https://github.com': tacurran | |
Password for 'https://tacurran@github.com': | |
remote: Permission to baldur-io/uid.git denied to tacurran. | |
fatal: unable to access 'https://github.com/baldur-io/uid.git/': The requested URL returned error: 403 |
package store | |
type ContactStorer interface { | |
FetchContacts() (Contacts, error) | |
GetContact(id string) (*Contact, error) | |
DeleteContact(id string) error | |
CreateContact(*Contact) error | |
UpdateContact(*Contact) error | |
} |
I hereby claim:
To claim this, I am signing this object:
func TestMigrations(t *testing.T) { | |
// start a test container and create the database connection | |
connection := dockertest.ConnectToTestPostgreSQLPop(t) | |
// The test migrator searches for testdata SQL files in the ./testdata directory. | |
// After applying each migration it runs its corresponding testdata file. | |
// This test migrator highly depends on the way you apply migrations. | |
testMigrator := NewTestMigrator(t, connection, "../migrations", "./testdata") | |
require.NoError(t, testMigrator.Up()) | |
// there are 10 migrations | |
for i := 0; i < 10; i++ { |