Skip to content
Snippets Groups Projects
Commit 4edeb9aa authored by julian.ruhl's avatar julian.ruhl
Browse files

Co-authored-by: Martinoty Jérémy <jeremy.martinot@hes-so.ch>

parent 3dc5b6ed
No related branches found
No related tags found
No related merge requests found
package main
/*func createMessage(id int, file string) node.Message {
return node.Message{
Cmd: id,
Filename: file,
import (
"bufio"
"fmt"
"os"
)
type Message struct {
Id int
Key int
Type_ string
}
}*/
func main() {
func createMessage(id int, key int, _type string) Message {
return Message{
Id: id,
Key: key,
Type_: _type,
}
}
func main() {
reader := bufio.NewReader(os.Stdin)
fmt.Print("Quel fichiez recherhez vous ? (ID)")
input, _ := reader.ReadString('\n')
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment