[PD1] Innitial commit

This commit is contained in:
Afonso Franco 2024-04-16 09:02:23 +01:00
parent 287ae0e466
commit c0e19b5774
Signed by: afonso
SSH key fingerprint: SHA256:aiLbdlPwXKJS5wMnghdtod0SPy8imZjlVvCyUX9DJNk
10 changed files with 71 additions and 0 deletions

11
Projs/PD1/README.md Normal file
View file

@ -0,0 +1,11 @@
# Structure
### Server:
- data_management
### Client:
- interface
### Libs
- crypto
- networking

View file

@ -0,0 +1 @@
package client

View file

@ -0,0 +1 @@
package client

3
Projs/PD1/go.mod Normal file
View file

@ -0,0 +1,3 @@
module PD1
go 1.22.2

View file

@ -0,0 +1 @@
package server

View file

@ -0,0 +1,17 @@
package server
import (
_ "PD1/utils/networking"
_ "PD1/utils/crypto"
)
const (
a = iota
b
c
d
e
)
func main() {
}

18
Projs/PD1/tokefile.toml Normal file
View file

@ -0,0 +1,18 @@
[targets.setup]
wildcards=[["golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow@latest","github.com/kisielk/errcheck@latest"]]
cmd="go install @@"
[targets.check]
wildcards=[["go vet ./...","shadow ./...","errcheck ./..."]]
cmd="@@"
[targets.build]
cmd="go build"
[targets.server]
deps=["check"]
cmd="go run ./src/server/server.go"
[targets.client]
deps=["check"]
cmd="go run ./src/server/client.go"

View file

@ -0,0 +1,7 @@
package crypto
import "fmt"
func Print(){
fmt.Println("crypto package")
}

View file

@ -0,0 +1,7 @@
package networking
import "fmt"
func Print(){
fmt.Println("networking package")
}

View file

@ -0,0 +1,5 @@
package protocol
type message struct{
}