Skip to content

Commit

Permalink
replace InitializeDB with InitializeDatabase
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Taylor <[email protected]>
  • Loading branch information
sbtaylor15 committed Aug 5, 2024
1 parent 9ddfaa6 commit 2fcd1bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.22.5
require (
github.com/arangodb/go-driver/v2 v2.1.0
github.com/gofiber/fiber/v2 v2.52.5
github.com/ortelius/scec-commons v0.1.32
github.com/ortelius/scec-commons v0.1.33
github.com/package-url/packageurl-go v0.1.3
github.com/swaggo/swag v1.16.3
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ github.com/multiformats/go-varint v0.0.7 h1:sWSGR+f/eu5ABZA2ZpYKBILXTTs9JWpdEM/n
github.com/multiformats/go-varint v0.0.7/go.mod h1:r8PUYw/fD/SjBCiKOoDlGF6QawOELpZAu9eioSos/OU=
github.com/ortelius/scec-commons v0.1.32 h1:EZFIh117gcaMtjyMM74kGMs/IHU98rFLjLNgFB1VOIU=
github.com/ortelius/scec-commons v0.1.32/go.mod h1:81QxQJo2TTVAMexjeSkV0SWpNFWUAhxGGJxC0+96Yt8=
github.com/ortelius/scec-commons v0.1.33 h1:mDwJN6apFjm2S/zchwQ8GUTU0FuIStvjpGT5oll+sKQ=
github.com/ortelius/scec-commons v0.1.33/go.mod h1:aJT8PaDyYCOMR+3hOtod5/SzfcMqbaVuozcH7DZ4wkQ=
github.com/package-url/packageurl-go v0.1.3 h1:4juMED3hHiz0set3Vq3KeQ75KD1avthoXLtmE3I0PLs=
github.com/package-url/packageurl-go v0.1.3/go.mod h1:nKAWB8E6uk1MHqiS/lQb9pYBGH2+mdJ2PJc2s50dQY0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

var logger = database.InitLogger()
var dbconn = database.InitializeDB("sbom")
var dbconn = database.InitializeDatabase()
var licensesMap = make(map[string]License)

// License represents the structure of each license in the JSON data
Expand Down

0 comments on commit 2fcd1bf

Please sign in to comment.