whoever was responsible for that indentation blunder, you're fired
Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
parent
cddd5656f2
commit
63221e9fd2
|
@ -37,7 +37,7 @@ type (
|
|||
Role string
|
||||
Meta bool // for "meta" contributors (i.e. not credited for the musical work, but other related assets)
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
func (album MusicRelease) GetUniqueArtists() []Artist {
|
||||
if len(album.Credits) == 1 {
|
||||
|
|
4
db.go
4
db.go
|
@ -52,9 +52,9 @@ func PushArtist(db *sqlx.DB, artist music.Artist) {
|
|||
&artist.Id,
|
||||
&artist.Name,
|
||||
&artist.Website,
|
||||
)
|
||||
)
|
||||
|
||||
fmt.Printf("done!\n")
|
||||
fmt.Printf("done!\n")
|
||||
}
|
||||
|
||||
func PushRelease(db *sqlx.DB, release music.MusicRelease) {
|
||||
|
|
11
go.mod
11
go.mod
|
@ -1,15 +1,18 @@
|
|||
module arimelody.me/arimelody.me
|
||||
|
||||
go 1.22.1
|
||||
go 1.22
|
||||
|
||||
require (
|
||||
github.com/gomarkdown/markdown v0.0.0-20231222211730-1d6d20845b47
|
||||
github.com/jmoiron/sqlx v1.3.5
|
||||
github.com/lib/pq v1.10.9
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/gomarkdown/markdown v0.0.0-20231222211730-1d6d20845b47 // indirect
|
||||
github.com/jackc/pgpassfile v1.0.0 // indirect
|
||||
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
|
||||
github.com/jackc/pgx/v5 v5.5.5 // indirect
|
||||
github.com/jackc/puddle/v2 v2.2.1 // indirect
|
||||
github.com/jmoiron/sqlx v1.3.5 // indirect
|
||||
github.com/lib/pq v1.10.9 // indirect
|
||||
golang.org/x/crypto v0.17.0 // indirect
|
||||
golang.org/x/sync v0.1.0 // indirect
|
||||
golang.org/x/text v0.14.0 // indirect
|
||||
|
|
Loading…
Reference in a new issue