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

pull/425/head
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
1 changed files with 1 additions and 1 deletions

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.