在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:gobang开源软件地址:https://gitee.com/mirrors/gobang开源软件介绍:Features
TODOs
What does "gobang" come from?gobang means a Japanese game played on goban, a go board. The appearance of goban looks like table structure. And I live in Kyoto, Japan. In Kyoto city, streets are laid out on a grid (We call it “goban no me no youna (碁盤の目のような)”). They are why I named this project "gobang". InstallationWith Homebrew (Linux, macOS)If you’re using Homebrew or Linuxbrew, install the gobang formula: brew install tako8ki/tap/gobang On WindowsIf you're a Windows Scoop user, then you can install gobang from the official bucket: scoop install gobang On NixOSIf you're a Nix user, you can install gobang from nixpkgs: $ nix-env --install gobang On NetBSDIf you're a NetBSD user, then you can install gobang from pkgsrc: pkgin install gobang With Cargo (Linux, macOS, Windows)If you already have a Rust environment set up, you can use the cargo install --version 0.1.0-alpha.5 gobang From binaries (Linux, macOS, Windows)
Usage$ gobang $ gobang -hUSAGE: gobang [OPTIONS]FLAGS: -h, --help Prints help information -V, --version Prints version informationOPTIONS: -c, --config-path <config-path> Set the config file If you want to add connections, you need to edit your config file. For more information, please see Configuration. Keymap
ConfigurationThe location of the file depends on your OS:
The following is a sample config.toml file: [[conn]]type = "mysql"user = "root"host = "localhost"port = 3306[[conn]]type = "mysql"user = "root"host = "localhost"port = 3306password = "password"database = "foo"[[conn]]type = "postgres"user = "root"host = "localhost"port = 5432database = "bar"[[conn]]type = "sqlite"path = "/path/to/baz.db" ContributionContributions, issues and pull requests are welcome! |
请发表评论