go build -o ~/bin/test-2 test-2.go
$ go run main.go
bar a b
query($owner: String!, $repo: String!, $pr: Int!) { | |
repository(owner: $owner, name: $repo) { | |
pullRequest(number: $pr) { | |
author { | |
login | |
} | |
commits(first: 30) { | |
nodes { | |
commit { | |
author { |
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/zalando/go-keyring" | |
) | |
func main() { |
package main | |
import ( | |
"fmt" | |
"log" | |
"github.com/99designs/keyring" | |
) | |
func main() { |
go build -o ~/bin/test-2 test-2.go
$ go run main.go
bar a b
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"os" | |
) |
package main | |
import ( | |
"errors" | |
"fmt" | |
"io" | |
"log" | |
"net/http" | |
"github.com/codingsince1985/checksum" |
name: Close Renovate pull requests | |
on: | |
workflow_dispatch: | |
inputs: {} | |
schedule: | |
# The "*" (#42, asterisk) character has special semantics in YAML, so this | |
# string has to be quoted. | |
- cron: '0/15 * * * *' | |
permissions: |
package foo | |
func Foo() {} |
curl -u admin:admin -H 'Content-Type: application/json' -H 'Accept: application/json' -H 'X-Requested-By: api' -X POST 'http://127.0.0.1:9000/api/events/definitions?pretty=true' -d ' | |
{ | |
"title": "new-event-definition", | |
"description": "", | |
"priority": 2, | |
"alert": true, | |
"config": { | |
"type": "aggregation-v1", | |
"query": "test", | |
"streams": [ |
2021-08-02T20:11:07.294+0900 [DEBUG] Adding temp file log sink: /var/folders/g5/s19ny0hd09g72v6pq5rbf54m0000gn/T/terraform-log681782424 | |
2021-08-02T20:11:07.294+0900 [INFO] Terraform version: 1.0.3 | |
2021-08-02T20:11:07.295+0900 [INFO] Go runtime version: go1.16.4 | |
2021-08-02T20:11:07.295+0900 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/2.2.2/versions/1.0.3/terraform", "apply", "-auto-approve"} | |
2021-08-02T20:11:07.295+0900 [DEBUG] Attempting to open CLI config file: /Users/shunsuke/.terraformrc | |
2021-08-02T20:11:07.295+0900 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2021-08-02T20:11:07.295+0900 [DEBUG] checking for credentials in "/Users/shunsuke/.terraform.d/plugins" | |
2021-08-02T20:11:07.295+0900 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins | |
2021-08-02T20:11:07.295+0900 [DEBUG] will search for provider plugins in /Users/shunsuke/.terraform.d/plugins | |
2021-08-02T20:11:07.295+0900 [WARN] Provider plugin search ignored symlink /Users/shunsuke/.terraform.d/plugin |