Problème imports réglé

This commit is contained in:
Maximilien LEDOUX 2022-02-23 13:06:29 +01:00
parent bc2e322781
commit 47b91d96d1
8 changed files with 13 additions and 13 deletions

View File

@ -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 (

2
go.mod
View File

@ -1 +1 @@
module _StorBackEnd
module StorBackEnd

View File

@ -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"
)

View File

@ -1,7 +1,7 @@
package network
import (
"_StorBackEnd/pkg/protocol/managers"
"StorBackEnd/pkg/protocol/managers"
"bufio"
"fmt"
"net"

View File

@ -1,6 +1,6 @@
package managers
import "_StorBackEnd/pkg/protocol/repository"
import "StorBackEnd/pkg/protocol/repository"
type RequestManager struct {
Repository *repository.ProtocolRepository

View File

@ -1,6 +1,6 @@
package repository
import "_StorBackEnd/pkg/protocol"
import "StorBackEnd/pkg/protocol"
func CreateProtocolRepository() *ProtocolRepository {
return &ProtocolRepository{

View File

@ -1,6 +1,6 @@
package readers
import "_StorBackEnd/pkg/protocol"
import "StorBackEnd/pkg/protocol"
// EraseFileRuleName Identifiant de cette règle
const EraseFileRuleName = "ffe_erasefile"

View File

@ -1,6 +1,6 @@
package writers
import "_StorBackEnd/pkg/protocol"
import "StorBackEnd/pkg/protocol"
const HelloRuleName = "sbe_hello"