Explorar el Código

Added version date

Ronald Peterson hace 10 años
padre
commit
1ed9a5007e
Se han modificado 3 ficheros con 5 adiciones y 0 borrados
  1. 1 0
      .gitignore
  2. 2 0
      battlecamp-go-boardgenerator/main.go
  3. 2 0
      main.go

+ 1 - 0
.gitignore

@@ -2,3 +2,4 @@
 *.iml
 .idea/
 battlecamp-go-boardgenerator
+*.log

+ 2 - 0
battlecamp-go-boardgenerator/main.go

@@ -1,6 +1,7 @@
 package main
 
 import (
+	"fmt"
 	"net"
 	"golang.org/x/net/netutil"
 	"battlecamp-go-server/board"
@@ -11,6 +12,7 @@ import (
 )
 
 func main() {
+	fmt.Println("Board generator version 0.1")
 	logFile, err := os.Create("server.log")
 
 	if err == nil {

+ 2 - 0
main.go

@@ -2,6 +2,7 @@
 package main
 
 import (
+	"fmt"
 	"log"
 	"math/rand"
 	"net/http"
@@ -18,6 +19,7 @@ var currentGames games.GameServer = games.New()
 var stompConnection *extStomp.Conn
 
 func main() {
+	fmt.Println("Game server version 0.1")
 	logFile, err := os.Create("server.log")
 
 	if err == nil {