Skip to content

Commit 935cbbd

Browse files
Update package to make it importable
1 parent d84e06b commit 935cbbd

File tree

9 files changed

+15
-12
lines changed

9 files changed

+15
-12
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
[![tests](https://github.com/C4T-BuT-S4D/FastAD/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/C4T-BuT-S4D/FastAD/actions/workflows/tests.yml)
2+
13
# FastAD
4+
25
Blazing fast Attack & Defence CTF platform

cmd/receiver/main.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99
"syscall"
1010
"time"
1111

12-
"fastad/internal/multiproto"
13-
"fastad/internal/pinger"
14-
"fastad/internal/receiver"
15-
pingerpb "fastad/pkg/proto/pinger"
16-
receiverpb "fastad/pkg/proto/receiver"
12+
"github.com/c4t-but-s4d/fastad/internal/multiproto"
13+
"github.com/c4t-but-s4d/fastad/internal/pinger"
14+
"github.com/c4t-but-s4d/fastad/internal/receiver"
15+
pingerpb "github.com/c4t-but-s4d/fastad/pkg/proto/pinger"
16+
receiverpb "github.com/c4t-but-s4d/fastad/pkg/proto/receiver"
1717

1818
"github.com/sirupsen/logrus"
1919
"google.golang.org/grpc"

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module fastad
1+
module github.com/c4t-but-s4d/fastad
22

33
go 1.18
44

internal/pinger/pinger.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package pinger
33
import (
44
"context"
55

6-
pingerpb "fastad/pkg/proto/pinger"
6+
pingerpb "github.com/c4t-but-s4d/fastad/pkg/proto/pinger"
77
)
88

99
func New() *Service {

internal/receiver/receiver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package receiver
33
import (
44
"context"
55

6-
receiverpb "fastad/pkg/proto/receiver"
6+
receiverpb "github.com/c4t-but-s4d/fastad/pkg/proto/receiver"
77

88
"google.golang.org/grpc/codes"
99
"google.golang.org/grpc/status"

proto/pinger/pinger.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
syntax = "proto3";
22

33
package pinger;
4-
option go_package = "fastad/pkg/proto/pinger";
4+
option go_package = "github.com/c4t-but-s4d/fastad/pkg/proto/pinger";
55

66
message PingRequest {}
77

proto/pinger/pinger_service.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
syntax = "proto3";
22

33
package pinger;
4-
option go_package = "fastad/pkg/proto/pinger";
4+
option go_package = "github.com/c4t-but-s4d/fastad/pkg/proto/pinger";
55

66
import "pinger/pinger.proto";
77

proto/receiver/receiver.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
syntax = "proto3";
22

33
package receiver;
4-
option go_package = "fastad/pkg/proto/receiver";
4+
option go_package = "github.com/c4t-but-s4d/fastad/pkg/proto/receiver";
55

66
message SubmitFlagsRequest {
77
repeated string flags = 1;

proto/receiver/receiver_service.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
syntax = "proto3";
22

33
package receiver;
4-
option go_package = "fastad/pkg/proto/receiver";
4+
option go_package = "github.com/c4t-but-s4d/fastad/pkg/proto/receiver";
55

66
import "receiver/receiver.proto";
77

0 commit comments

Comments
 (0)