- homeディレクトリ直下にOpenFisca-Japanをクローン
$ cd ~
$ git clone https://github.com/project-inclusive/OpenFisca-Japan.git
- 以下のコードを実行しプロンプト作成
invite!("http") | |
idGen := <{|i| yield "user_#{i}"; recur(i+1)}>.new(1) | |
db := <{|users| | |
set := {|updated| recur(updated)} | |
yield [users, set] | |
}>.new({}) | |
S.serve( |
openapi: "3.0.0" | |
info: | |
title: "report" | |
version: 2.0.0 | |
paths: | |
/report: | |
delete: | |
summary: deletes the report. | |
responses: | |
'204': |
https://go.dev/ref/spec#Type_assertions
FROM croservices/cro-http:0.8.5 | |
RUN mkdir /app | |
COPY . /app | |
WORKDIR /app | |
RUN raku -c -Ilib main.p6 | |
CMD raku -Ilib main.p6 |
package main | |
// parsed by main.go | |
type Example interface { | |
Foo(int, ...interface{}) (int, error) | |
Hello(name string) (string, error) | |
} |
FROM golang:1.18 | |
RUN apt-get update -y && \ | |
apt-get install -y bats jq | |
WORKDIR /go/src/github.com/vmware/govmomi |
This note briefly shows how vcsim generates object's UUID.
0.26.0
. The latest version might work differently.
# https://github.com/dapr/components-contrib/blob/master/docs/developing-component.md | |
FROM golang:1.16-buster | |
RUN cd $GOPATH/src | |
# Clone dapr | |
RUN mkdir -p github.com/dapr/dapr && \ | |
git clone https://github.com/dapr/dapr.git github.com/dapr/dapr |