diff --git a/cmd/main.go b/cmd/main.go index 0526c46..0b9f69c 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,12 +1,12 @@ package main import ( - "_StorBackEnd/pkg/config" - "_StorBackEnd/pkg/network" - "_StorBackEnd/pkg/protocol/managers" - "_StorBackEnd/pkg/protocol/repository" - "_StorBackEnd/pkg/protocol/rules/readers" - "_StorBackEnd/pkg/protocol/rules/writers" + "StorBackEnd/pkg/config" + "StorBackEnd/pkg/network" + "StorBackEnd/pkg/protocol/managers" + "StorBackEnd/pkg/protocol/repository" + "StorBackEnd/pkg/protocol/rules/readers" + "StorBackEnd/pkg/protocol/rules/writers" ) const ( diff --git a/go.mod b/go.mod index fd0c793..6a92a91 100644 --- a/go.mod +++ b/go.mod @@ -1 +1 @@ -module _StorBackEnd +module StorBackEnd diff --git a/pkg/network/ClientMulticast.go b/pkg/network/ClientMulticast.go index c136a3a..f902bdb 100644 --- a/pkg/network/ClientMulticast.go +++ b/pkg/network/ClientMulticast.go @@ -1,8 +1,8 @@ package network import ( - "_StorBackEnd/pkg/protocol/repository" - "_StorBackEnd/pkg/protocol/rules/writers" + "StorBackEnd/pkg/protocol/repository" + "StorBackEnd/pkg/protocol/rules/writers" "net" "time" ) diff --git a/pkg/network/ServerUnicast.go b/pkg/network/ServerUnicast.go index 65b1105..079621d 100644 --- a/pkg/network/ServerUnicast.go +++ b/pkg/network/ServerUnicast.go @@ -1,7 +1,7 @@ package network import ( - "_StorBackEnd/pkg/protocol/managers" + "StorBackEnd/pkg/protocol/managers" "bufio" "fmt" "net" diff --git a/pkg/protocol/managers/RequestManager.go b/pkg/protocol/managers/RequestManager.go index 14176ec..9c0b7d2 100644 --- a/pkg/protocol/managers/RequestManager.go +++ b/pkg/protocol/managers/RequestManager.go @@ -1,6 +1,6 @@ package managers -import "_StorBackEnd/pkg/protocol/repository" +import "StorBackEnd/pkg/protocol/repository" type RequestManager struct { Repository *repository.ProtocolRepository diff --git a/pkg/protocol/repository/ProtocolRepository.go b/pkg/protocol/repository/ProtocolRepository.go index 1901ece..9e613c5 100644 --- a/pkg/protocol/repository/ProtocolRepository.go +++ b/pkg/protocol/repository/ProtocolRepository.go @@ -1,6 +1,6 @@ package repository -import "_StorBackEnd/pkg/protocol" +import "StorBackEnd/pkg/protocol" func CreateProtocolRepository() *ProtocolRepository { return &ProtocolRepository{ diff --git a/pkg/protocol/rules/readers/EraseFileRule.go b/pkg/protocol/rules/readers/EraseFileRule.go index d3e3522..0d75f14 100644 --- a/pkg/protocol/rules/readers/EraseFileRule.go +++ b/pkg/protocol/rules/readers/EraseFileRule.go @@ -1,6 +1,6 @@ package readers -import "_StorBackEnd/pkg/protocol" +import "StorBackEnd/pkg/protocol" // EraseFileRuleName Identifiant de cette règle const EraseFileRuleName = "ffe_erasefile" diff --git a/pkg/protocol/rules/writers/HelloRule.go b/pkg/protocol/rules/writers/HelloRule.go index 5d420bb..e2d3cf6 100644 --- a/pkg/protocol/rules/writers/HelloRule.go +++ b/pkg/protocol/rules/writers/HelloRule.go @@ -1,6 +1,6 @@ package writers -import "_StorBackEnd/pkg/protocol" +import "StorBackEnd/pkg/protocol" const HelloRuleName = "sbe_hello"