Skip to content

Commit a4f86ad

Browse files
committedApr 4, 2023
drop src folder
1 parent abc4eeb commit a4f86ad

File tree

15 files changed

+5
-6
lines changed

15 files changed

+5
-6
lines changed
 

‎src/Makefile ‎Makefile

File renamed without changes.

‎README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Caesar cipher
1+
Technical challenge
22
========================
3-
gRPC Server and Client
3+
Caesar cipher gRPC server and client
44

55
Prerequisites
66
========================
@@ -9,7 +9,6 @@ Install golang and protoc compiler with gRPC plugin (https://grpc.io/docs/langua
99
Build
1010
========================
1111
```shell
12-
cd src/
1312
make build
1413
```
1514

@@ -28,4 +27,4 @@ Client usage
2827
./client encrypt maksym
2928
./client decrypt nbltzn
3029
./client --help # for options
31-
```
30+
```
File renamed without changes.
File renamed without changes.
File renamed without changes.

‎src/go.mod ‎go.mod

File renamed without changes.

‎src/go.sum ‎go.sum

File renamed without changes.

‎src/internal/caesar/cipher.go ‎internal/caesar/cipher.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func (c Cipher) Decrypt(text string, shifts int) string {
2121
return c.shift(text, -shifts)
2222
}
2323

24-
// Takes a string and shifts each character by the provided amount of letters.
24+
// Takes a string and shifts each character by the provided amount of letters.
2525
// Supports unicode-based encodings.
2626
func (c Cipher) shift(input string, shift int) string {
2727
// prevent range overflow
File renamed without changes.

‎src/pkg/proto/cipher/cipher.pb.go ‎pkg/proto/cipher/cipher.pb.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.