From 33ae53e1381c8c535be40b9e66e6c3ed92081e28 Mon Sep 17 00:00:00 2001 From: Nate Sales Date: Wed, 24 Apr 2024 01:11:30 -0400 Subject: [PATCH] refactor: reformat --- .gitignore | 2 +- cmd/docs.go | 3 ++- cmd/generate.go | 3 ++- docs/docs/integrations/_category_.json | 2 +- docs/static/img/black-border.svg | 2 +- docs/static/img/undraw_code.svg | 2 +- docs/static/img/undraw_cycle.svg | 2 +- docs/static/img/undraw_map.svg | 2 +- docs/static/img/undraw_options.svg | 2 +- docs/static/img/undraw_security.svg | 2 +- pkg/match/match.go | 2 +- pkg/process/process_test.go | 3 ++- 12 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 4bb670da..80eac27a 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,4 @@ test-cache/ test-conf.yml nohup.out coverage.txt -tests/bird-matrix/v* \ No newline at end of file +tests/bird-matrix/v* diff --git a/cmd/docs.go b/cmd/docs.go index d0ba9305..01fc43b4 100644 --- a/cmd/docs.go +++ b/cmd/docs.go @@ -1,8 +1,9 @@ package cmd import ( - "github.com/natesales/pathvector/pkg/autodoc" "github.com/spf13/cobra" + + "github.com/natesales/pathvector/pkg/autodoc" ) func init() { diff --git a/cmd/generate.go b/cmd/generate.go index c6534184..346b1009 100644 --- a/cmd/generate.go +++ b/cmd/generate.go @@ -1,8 +1,9 @@ package cmd import ( - "github.com/natesales/pathvector/pkg/process" "github.com/spf13/cobra" + + "github.com/natesales/pathvector/pkg/process" ) var ( diff --git a/docs/docs/integrations/_category_.json b/docs/docs/integrations/_category_.json index 0a842a3e..4712ed1e 100644 --- a/docs/docs/integrations/_category_.json +++ b/docs/docs/integrations/_category_.json @@ -1,4 +1,4 @@ { "label": "Integrations", "position": 100 -} \ No newline at end of file +} diff --git a/docs/static/img/black-border.svg b/docs/static/img/black-border.svg index ec3f3a8d..a6c714b9 100644 --- a/docs/static/img/black-border.svg +++ b/docs/static/img/black-border.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/docs/static/img/undraw_code.svg b/docs/static/img/undraw_code.svg index c5d6b279..db74bce9 100644 --- a/docs/static/img/undraw_code.svg +++ b/docs/static/img/undraw_code.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/docs/static/img/undraw_cycle.svg b/docs/static/img/undraw_cycle.svg index f6e1674e..10654103 100644 --- a/docs/static/img/undraw_cycle.svg +++ b/docs/static/img/undraw_cycle.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/docs/static/img/undraw_map.svg b/docs/static/img/undraw_map.svg index b7587d5d..0076cddf 100644 --- a/docs/static/img/undraw_map.svg +++ b/docs/static/img/undraw_map.svg @@ -1 +1 @@ -connected world \ No newline at end of file +connected world diff --git a/docs/static/img/undraw_options.svg b/docs/static/img/undraw_options.svg index bed831ac..ebd59683 100644 --- a/docs/static/img/undraw_options.svg +++ b/docs/static/img/undraw_options.svg @@ -1 +1 @@ -selected_options \ No newline at end of file +selected_options diff --git a/docs/static/img/undraw_security.svg b/docs/static/img/undraw_security.svg index b3446817..1165464e 100644 --- a/docs/static/img/undraw_security.svg +++ b/docs/static/img/undraw_security.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/pkg/match/match.go b/pkg/match/match.go index 21bcdb92..ecb9528d 100644 --- a/pkg/match/match.go +++ b/pkg/match/match.go @@ -34,7 +34,7 @@ func CommonIXs(a uint32, b uint32, yamlFormat bool, queryTimeout uint, apiKey st AS%d %s %s - + AS%d %s %s diff --git a/pkg/process/process_test.go b/pkg/process/process_test.go index b6a0d72d..d8495328 100644 --- a/pkg/process/process_test.go +++ b/pkg/process/process_test.go @@ -4,8 +4,9 @@ import ( "strings" "testing" - "github.com/natesales/pathvector/pkg/util" "github.com/stretchr/testify/assert" + + "github.com/natesales/pathvector/pkg/util" ) func TestCategorizeCommunity(t *testing.T) {