diff --git a/frameworks/Go/clevergo/README.md b/frameworks/Go/clevergo/README.md deleted file mode 100755 index 6587302c373..00000000000 --- a/frameworks/Go/clevergo/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# [CleverGo](https://github.com/clevergo/clevergo) Benchmarking Test - -[CleverGo](https://github.com/clevergo/clevergo) is a lightweight, feature rich and high performance web framework writing in Go. - -## Test URLs - -http://localhost:8080/json -http://localhost:8080/plaintext -http://localhost:8080/db -http://localhost:8080/query?queries= -http://localhost:8080/update?queries= -http://localhost:8080/fortunes diff --git a/frameworks/Go/clevergo/benchmark_config.json b/frameworks/Go/clevergo/benchmark_config.json deleted file mode 100755 index fdd62b07751..00000000000 --- a/frameworks/Go/clevergo/benchmark_config.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "framework": "clevergo", - "tests": [ - { - "default": { - "json_url": "/json", - "plaintext_url": "/plaintext", - "db_url": "/db", - "query_url": "/queries?n=", - "fortune_url": "/fortunes", - "update_url": "/updates?n=", - "port": 8080, - "approach": "Realistic", - "classification": "Micro", - "database": "mysql", - "framework": "CleverGo", - "language": "Go", - "flavor": "None", - "orm": "Raw", - "platform": "None", - "webserver": "None", - "os": "Linux", - "database_os": "Linux", - "display_name": "CleverGo", - "notes": "", - "versus": "go" - } - } - ] -} diff --git a/frameworks/Go/clevergo/clevergo.dockerfile b/frameworks/Go/clevergo/clevergo.dockerfile deleted file mode 100644 index 38f766b256d..00000000000 --- a/frameworks/Go/clevergo/clevergo.dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM docker.io/golang:1.19 - -ADD ./ /clevergo -WORKDIR /clevergo - -RUN GOAMD64=v3 go build -o app main.go - -EXPOSE 8080 - -CMD ./app diff --git a/frameworks/Go/clevergo/config.toml b/frameworks/Go/clevergo/config.toml deleted file mode 100644 index cd48ff7609a..00000000000 --- a/frameworks/Go/clevergo/config.toml +++ /dev/null @@ -1,19 +0,0 @@ -[framework] -name = "clevergo" - -[main] -urls.plaintext = "/plaintext" -urls.json = "/json" -urls.db = "/db" -urls.query = "/queries?n=" -urls.update = "/updates?n=" -urls.fortune = "/fortunes" -approach = "Realistic" -classification = "Micro" -database = "mysql" -database_os = "Linux" -os = "Linux" -orm = "Raw" -platform = "None" -webserver = "None" -versus = "go" diff --git a/frameworks/Go/clevergo/go.mod b/frameworks/Go/clevergo/go.mod deleted file mode 100644 index b6b39a0d8b6..00000000000 --- a/frameworks/Go/clevergo/go.mod +++ /dev/null @@ -1,10 +0,0 @@ -module clevergo/app - -go 1.19 - -require ( - clevergo.tech/clevergo v0.6.0 - github.com/go-sql-driver/mysql v1.6.0 -) - -require clevergo.tech/log v0.3.0 // indirect diff --git a/frameworks/Go/clevergo/go.sum b/frameworks/Go/clevergo/go.sum deleted file mode 100644 index 59a8f1efa51..00000000000 --- a/frameworks/Go/clevergo/go.sum +++ /dev/null @@ -1,21 +0,0 @@ -clevergo.tech/clevergo v0.6.0 h1:smn2Kch2YhmRgU1fh3KAxaXHtmMBfZ1r2dPxxnSuFbI= -clevergo.tech/clevergo v0.6.0/go.mod h1:DKjcOs3CrayCTcm5j7gDht2p9u/zakSKClz9cObvO3E= -clevergo.tech/log v0.3.0 h1:9ryDHGeOD3BUSUuJEW3be8QtdnjjavoBkknoRCA7dp8= -clevergo.tech/log v0.3.0/go.mod h1:61sruy0OB79q5JJlxlyi+6eZzVf/bxbUbXnL0KIzsVw= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-sql-driver/mysql v1.6.0 h1:BCTh4TKNUYmOmMUcQ3IipzF5prigylS7XXjEkfCHuOE= -github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/frameworks/Go/clevergo/main.go b/frameworks/Go/clevergo/main.go deleted file mode 100644 index 0b3d9819f3a..00000000000 --- a/frameworks/Go/clevergo/main.go +++ /dev/null @@ -1,218 +0,0 @@ -package main - -import ( - "database/sql" - "html/template" - "log" - "math/rand" - "net/http" - "runtime" - "sort" - "strconv" - - "clevergo.tech/clevergo" - _ "github.com/go-sql-driver/mysql" -) - -type Fortune struct { - ID uint16 `json:"id"` - Message string `json:"message"` -} - -type Fortunes []*Fortune - -func (s Fortunes) Len() int { - return len(s) -} - -func (s Fortunes) Swap(i, j int) { - s[i], s[j] = s[j], s[i] -} - -type FortunesByMessage struct { - Fortunes -} - -func (f FortunesByMessage) Less(i, j int) bool { - return f.Fortunes[i].Message < f.Fortunes[j].Message -} - -var ( - // Template - fortuneHTML = ` - -
-| id | -message | -
|---|---|
| {{ .ID }} | -{{ .Message }} | -