Skip to content

Commit

Permalink
Creating a new release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kyallanum authored Dec 29, 2023
1 parent a47aaef commit f2e9464
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/kyallanum/athena/v0.1.0
module github.com/kyallanum/athena/v1.0.0

go 1.21

Expand Down
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion utils/ConfigFile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion utils/ConfigurationSourceFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion utils/LogFile.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion utils/Regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion utils/Regex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions utils/Rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion utils/Rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions utils/SearchTerm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion utils/Summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion utils/SummaryFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f2e9464

Please sign in to comment.