From 47b91d96d1757fbff9a7901850c668288912c66c Mon Sep 17 00:00:00 2001 From: Maximilien LEDOUX Date: Wed, 23 Feb 2022 13:06:29 +0100 Subject: [PATCH] =?UTF-8?q?Probl=C3=A8me=20imports=20r=C3=A9gl=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/main.go | 10 +++++----- go.mod | 2 +- pkg/network/ClientMulticast.go | 4 ++-- pkg/network/ServerUnicast.go | 2 +- pkg/protocol/managers/RequestManager.go | 2 +- pkg/protocol/repository/ProtocolRepository.go | 2 +- pkg/protocol/rules/readers/EraseFileRule.go | 2 +- pkg/protocol/rules/writers/HelloRule.go | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index ef8b308..ae12b33 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -1,11 +1,11 @@ package main import ( - "_StorBackEnd/pkg/network" - "_StorBackEnd/pkg/protocol/managers" - "_StorBackEnd/pkg/protocol/repository" - "_StorBackEnd/pkg/protocol/rules/readers" - "_StorBackEnd/pkg/protocol/rules/writers" + "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 7abee44..82e15b8 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"