From f2e94644490b2744baf4f03866ac8c2cd57c000f Mon Sep 17 00:00:00 2001 From: Kyal Lanum <48729516+kyallanum@users.noreply.github.com> Date: Thu, 28 Dec 2023 23:40:54 -0700 Subject: [PATCH] Creating a new release v1.0.0 --- go.mod | 2 +- main.go | 10 +++++----- main_test.go | 4 ++-- utils/ConfigFile.go | 2 +- utils/ConfigurationSourceFactory.go | 2 +- utils/LogFile.go | 2 +- utils/Regex.go | 2 +- utils/Regex_test.go | 2 +- utils/Rule.go | 6 +++--- utils/Rule_test.go | 2 +- utils/SearchTerm.go | 6 +++--- utils/Summary.go | 2 +- utils/SummaryFactory.go | 2 +- 13 files changed, 22 insertions(+), 22 deletions(-) diff --git a/go.mod b/go.mod index cd62bb0..a232e9b 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/kyallanum/athena/v0.1.0 +module github.com/kyallanum/athena/v1.0.0 go 1.21 diff --git a/main.go b/main.go index 05aa6a3..7291f0e 100644 --- a/main.go +++ b/main.go @@ -5,10 +5,10 @@ import ( "fmt" "os" - models "github.com/kyallanum/athena/v0.1.0/models" - config "github.com/kyallanum/athena/v0.1.0/models/config" - library "github.com/kyallanum/athena/v0.1.0/models/library" - "github.com/kyallanum/athena/v0.1.0/utils" + models "github.com/kyallanum/athena/v1.0.0/models" + config "github.com/kyallanum/athena/v1.0.0/models/config" + library "github.com/kyallanum/athena/v1.0.0/models/library" + "github.com/kyallanum/athena/v1.0.0/utils" ) func err_check(err error) { @@ -118,7 +118,7 @@ func main() { parseFlags(&CONFIG_FILE, &LOG_FILE) - fmt.Println("Athena v0.1.0 Starting") + fmt.Println("Athena v1.0.0 Starting") fmt.Println("Getting Configuration File: ", CONFIG_FILE, "...") configuration, err := utils.CreateConfiguration(CONFIG_FILE) diff --git a/main_test.go b/main_test.go index 0f8bfad..a58fb56 100644 --- a/main_test.go +++ b/main_test.go @@ -4,8 +4,8 @@ import ( "os" "testing" - models "github.com/kyallanum/athena/v0.1.0/models/config" - "github.com/kyallanum/athena/v0.1.0/utils" + models "github.com/kyallanum/athena/v1.0.0/models/config" + "github.com/kyallanum/athena/v1.0.0/utils" ) func TestResolveFile(t *testing.T) { diff --git a/utils/ConfigFile.go b/utils/ConfigFile.go index ece2cab..b2de596 100644 --- a/utils/ConfigFile.go +++ b/utils/ConfigFile.go @@ -4,7 +4,7 @@ import ( "encoding/json" "fmt" - models "github.com/kyallanum/athena/v0.1.0/models/config" + models "github.com/kyallanum/athena/v1.0.0/models/config" ) func CreateConfiguration(source string) (config *models.Configuration, err error) { diff --git a/utils/ConfigurationSourceFactory.go b/utils/ConfigurationSourceFactory.go index 54401e8..4751e01 100644 --- a/utils/ConfigurationSourceFactory.go +++ b/utils/ConfigurationSourceFactory.go @@ -5,7 +5,7 @@ import ( "os" urlverifier "github.com/davidmytton/url-verifier" - config "github.com/kyallanum/athena/v0.1.0/models/config" + config "github.com/kyallanum/athena/v1.0.0/models/config" ) func getSource(source string) (config.IConfigurationSource, error) { diff --git a/utils/LogFile.go b/utils/LogFile.go index a8dad44..b3e0b95 100644 --- a/utils/LogFile.go +++ b/utils/LogFile.go @@ -5,7 +5,7 @@ import ( "fmt" "os" - "github.com/kyallanum/athena/v0.1.0/models" + "github.com/kyallanum/athena/v1.0.0/models" ) func LoadLogFile(fileName string) (*models.LogFile, error) { diff --git a/utils/Regex.go b/utils/Regex.go index 4140295..3f60d6f 100644 --- a/utils/Regex.go +++ b/utils/Regex.go @@ -5,7 +5,7 @@ import ( "regexp" "strings" - library "github.com/kyallanum/athena/v0.1.0/models/library" + library "github.com/kyallanum/athena/v1.0.0/models/library" ) // func resolveLine determines whether the current log line matches a diff --git a/utils/Regex_test.go b/utils/Regex_test.go index 6c246b0..a43bae4 100644 --- a/utils/Regex_test.go +++ b/utils/Regex_test.go @@ -4,7 +4,7 @@ import ( "reflect" "testing" - models "github.com/kyallanum/athena/v0.1.0/models/library" + models "github.com/kyallanum/athena/v1.0.0/models/library" ) func TestResolveLine(t *testing.T) { diff --git a/utils/Rule.go b/utils/Rule.go index 83f4c84..defd6dd 100644 --- a/utils/Rule.go +++ b/utils/Rule.go @@ -3,9 +3,9 @@ package utils import ( "fmt" - models "github.com/kyallanum/athena/v0.1.0/models" - config "github.com/kyallanum/athena/v0.1.0/models/config" - library "github.com/kyallanum/athena/v0.1.0/models/library" + models "github.com/kyallanum/athena/v1.0.0/models" + config "github.com/kyallanum/athena/v1.0.0/models/config" + library "github.com/kyallanum/athena/v1.0.0/models/library" ) func ResolveRule(contents *models.LogFile, rule *config.Rule) (*library.RuleData, error) { diff --git a/utils/Rule_test.go b/utils/Rule_test.go index 45f276d..361d13a 100644 --- a/utils/Rule_test.go +++ b/utils/Rule_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - config "github.com/kyallanum/athena/v0.1.0/models/config" + config "github.com/kyallanum/athena/v1.0.0/models/config" ) func TestResolveRule(t *testing.T) { diff --git a/utils/SearchTerm.go b/utils/SearchTerm.go index d750e8a..e2ceffb 100644 --- a/utils/SearchTerm.go +++ b/utils/SearchTerm.go @@ -4,9 +4,9 @@ import ( "fmt" "slices" - models "github.com/kyallanum/athena/v0.1.0/models" - config "github.com/kyallanum/athena/v0.1.0/models/config" - library "github.com/kyallanum/athena/v0.1.0/models/library" + models "github.com/kyallanum/athena/v1.0.0/models" + config "github.com/kyallanum/athena/v1.0.0/models/config" + library "github.com/kyallanum/athena/v1.0.0/models/library" ) func resolveSearchTerms(logFile *models.LogFile, rule *config.Rule, linesResolved *[]int) (*library.SearchTermData, error) { diff --git a/utils/Summary.go b/utils/Summary.go index b3a3e87..49125c4 100644 --- a/utils/Summary.go +++ b/utils/Summary.go @@ -6,7 +6,7 @@ import ( "slices" "strings" - library "github.com/kyallanum/athena/v0.1.0/models/library" + library "github.com/kyallanum/athena/v1.0.0/models/library" ) func resolveSummaryLine(summaryLine string, ruleData *library.RuleData) ([]string, error) { diff --git a/utils/SummaryFactory.go b/utils/SummaryFactory.go index 1eabf54..1b834c4 100644 --- a/utils/SummaryFactory.go +++ b/utils/SummaryFactory.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - library "github.com/kyallanum/athena/v0.1.0/models/library" + library "github.com/kyallanum/athena/v1.0.0/models/library" ) func GetOperation(operation string, key string) (library.ISummaryOperation, error) {