This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module github.com/xxx/xxx | |
go 1.12 | |
require ( | |
github.com/coreos/go-oidc v2.0.0+incompatible // indirect | |
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect | |
golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4 // indirect | |
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 // indirect | |
gopkg.in/square/go-jose.v2 v2.3.1 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /_analyze | |
{ | |
"analyzer": "standard", | |
"text": ["Test, test"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io" | |
"os" | |
"regexp" | |
"sort" | |
"strings" |