Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
alaingilbert committed Sep 21, 2018
1 parent 51703ec commit 4128689
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import "os"
import "github.com/alaingilbert/ogame"

func main() {
universe := os.Getenv("UNIVERSE")
username := os.Getenv("USERNAME")
password := os.Getenv("PASSWORD")
language := os.Getenv("LANGUAGE")
universe := os.Getenv("UNIVERSE") // eg: Bellatrix
username := os.Getenv("USERNAME") // eg: [email protected]
password := os.Getenv("PASSWORD") // eg: *****
language := os.Getenv("LANGUAGE") // eg: en
bot, _ := ogame.New(universe, username, password, language)
attacked := bot.IsUnderAttack()
fmt.Println(attacked) // False
Expand Down

0 comments on commit 4128689

Please sign in to comment.