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 package main
import ( import (
"_StorBackEnd/pkg/network" "StorBackEnd/pkg/network"
"_StorBackEnd/pkg/protocol/managers" "StorBackEnd/pkg/protocol/managers"
"_StorBackEnd/pkg/protocol/repository" "StorBackEnd/pkg/protocol/repository"
"_StorBackEnd/pkg/protocol/rules/readers" "StorBackEnd/pkg/protocol/rules/readers"
"_StorBackEnd/pkg/protocol/rules/writers" "StorBackEnd/pkg/protocol/rules/writers"
) )
const ( const (

2
go.mod
View File

@ -1 +1 @@
module _StorBackEnd module StorBackEnd

View File

@ -1,8 +1,8 @@
package network package network
import ( import (
"_StorBackEnd/pkg/protocol/repository" "StorBackEnd/pkg/protocol/repository"
"_StorBackEnd/pkg/protocol/rules/writers" "StorBackEnd/pkg/protocol/rules/writers"
"net" "net"
"time" "time"
) )

View File

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

View File

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

View File

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

View File

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

View File

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