All of the following information is based on go version go1.17.1 darwin/amd64.
| GOOS | Out of the Box |
|---|---|
aix |
✅ |
android |
✅ |
| version: 2 | |
| workflows: | |
| version: 2 | |
| build: | |
| jobs: | |
| - test | |
| jobs: | |
| test: |
| from __future__ import division | |
| from random import random | |
| import numpy as np | |
| import pandas as pd | |
| ''' | |
| Use regret-matching algorithm to play Scissors-Rock-Paper. | |
| ''' | |
| class RPS: |
| "use strict"; | |
| /** | |
| * Hypertext Transfer Protocol (HTTP) response status codes. | |
| * @see {@link https://en.wikipedia.org/wiki/List_of_HTTP_status_codes} | |
| */ | |
| enum HttpStatusCode { | |
| /** | |
| * The server has received the request headers and the client should proceed to send the request body |
| 'use strict'; | |
| // simple express server | |
| var express = require('express'); | |
| var app = express(); | |
| var router = express.Router(); | |
| app.use(express.static('public')); | |
| app.get('/', function(req, res) { | |
| res.sendfile('./public/index.html'); |