Skip to content
Snippets Groups Projects
Commit ab7c8257 authored by Balthazar Wilson's avatar Balthazar Wilson
Browse files

fix: rename agents

parent 9c3fae37
No related branches found
No related tags found
1 merge request!7Partie serveur
package restserveragent package ballotagent
import ( import (
"bytes" "bytes"
......
package restclientagent package voteragent
import ( import (
"bytes" "bytes"
......
...@@ -3,11 +3,11 @@ package main ...@@ -3,11 +3,11 @@ package main
import ( import (
"fmt" "fmt"
ras "gitlab.utc.fr/lagruesy/ia04/demos/restagentdemo/restserveragent" bas "gitlab.utc.fr/gvandevi/ia04binome2a/agt/ballotagent"
) )
func main() { func main() {
server := ras.NewRestServerAgent(":8080") server := bas.NewRestServerAgent(":8080")
server.Start() server.Start()
fmt.Scanln() fmt.Scanln()
} }
...@@ -3,11 +3,11 @@ package main ...@@ -3,11 +3,11 @@ package main
import ( import (
"fmt" "fmt"
"gitlab.utc.fr/lagruesy/ia04/demos/restagentdemo/restclientagent" vas "gitlab.utc.fr/gvandevi/ia04binome2a/agt/voteragent"
) )
func main() { func main() {
ag := restclientagent.NewRestClientAgent("id1", "http://localhost:8080", "+", 11, 1) ag := vas.NewRestClientAgent("id1", "http://localhost:8080", "+", 11, 1)
ag.Start() ag.Start()
fmt.Scanln() fmt.Scanln()
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment