Changing Sprintf to Sprint if there is no formatting (#417)

This commit is contained in:
Sasha Melentyev 2022-12-02 15:41:05 +03:00 committed by GitHub
parent 9823e00b3f
commit 73e53f9922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ type Migration struct {
} }
func (m *Migration) String() string { func (m *Migration) String() string {
return fmt.Sprintf(m.Source) return fmt.Sprint(m.Source)
} }
// Up runs an up migration. // Up runs an up migration.