Skip to content

Commit

Permalink
Merge pull request #31 from underdog-tech/fix/real-module-path
Browse files Browse the repository at this point in the history
fix: Rename the module to have a fully qualified name
  • Loading branch information
tarkatronic authored Apr 24, 2023
2 parents d4f00ef + 2a4ba06 commit ee72a68
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 17 deletions.
4 changes: 2 additions & 2 deletions api/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package api

import (
"context"
"vulnbot/logger"

"github.com/underdog-tech/vulnbot/logger"

"github.com/shurcooL/githubv4"
)
Expand Down
3 changes: 2 additions & 1 deletion api/slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package api

import (
"fmt"
"vulnbot/logger"

"github.com/underdog-tech/vulnbot/logger"

"github.com/slack-go/slack"
)
Expand Down
6 changes: 3 additions & 3 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package cmd

import (
"vulnbot/logger"
"github.com/underdog-tech/vulnbot/logger"

"github.com/spf13/cobra"
)
Expand All @@ -10,9 +10,9 @@ import (
var rootCmd = &cobra.Command{
Use: "vulnbot",
Short: "Vulnbot: Your all-in-one security alert manager.",
Long: `Vulnbot is a comprehensive security alert manager designed to keep your code safe from vulnerabilities.
Long: `Vulnbot is a comprehensive security alert manager designed to keep your code safe from vulnerabilities.
It is a versatile bot that can seamlessly integrate with multiple data sources, such as GitHub, and soon Phylum,
It is a versatile bot that can seamlessly integrate with multiple data sources, such as GitHub, and soon Phylum,
Vulnbot empowers developers and security teams to efficiently manage and respond to security threats.`,
}

Expand Down
8 changes: 4 additions & 4 deletions cmd/scan.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package cmd

import (
"vulnbot/internal"
"github.com/underdog-tech/vulnbot/internal"

"github.com/spf13/cobra"
)

// scanCmd represents the scan command
var scanCmd = &cobra.Command{
Use: "scan",
Short: "",
Long: ``,
Use: "scan",
Short: "",
Long: ``,
Run: internal.Scan,
Aliases: []string{"s", "scan"},
}
Expand Down
3 changes: 2 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ package config

import (
"fmt"
"vulnbot/logger"

"github.com/underdog-tech/vulnbot/logger"

"github.com/BurntSushi/toml"
)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module vulnbot
module github.com/underdog-tech/vulnbot

go 1.20

Expand Down
6 changes: 3 additions & 3 deletions internal/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"strings"
"time"

"vulnbot/api"
"vulnbot/config"
"vulnbot/logger"
"github.com/underdog-tech/vulnbot/api"
"github.com/underdog-tech/vulnbot/config"
"github.com/underdog-tech/vulnbot/logger"

"github.com/joho/godotenv"
"github.com/shurcooL/githubv4"
Expand Down
2 changes: 1 addition & 1 deletion internal/utils.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package internal

import (
"vulnbot/logger"
"github.com/underdog-tech/vulnbot/logger"

"github.com/spf13/pflag"
)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"vulnbot/cmd"
"github.com/underdog-tech/vulnbot/cmd"
)

func main() {
Expand Down

0 comments on commit ee72a68

Please sign in to comment.