mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-21 13:23:03 +01:00
chore(deps): bump to go1.24.0 (#521)
* chore(deps): bump to go1.24.0 * use proxy-wasm/proxy-wasm-go-sdk * remove tinygo * update docker image * add missing env * use go tool directive for mockgen * chore: bump Kong/ngx_wasm_module to pre-release 0.6.0 Thanks to https://github.com/Kong/ngx_wasm_module/issues/682 * fix go mod * set caddy to go1.23
This commit is contained in:
@@ -4,16 +4,16 @@ import (
|
||||
"bufio"
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/sablierapp/sablier/app/http/routes"
|
||||
"github.com/sablierapp/sablier/app/http/routes/models"
|
||||
"github.com/sablierapp/sablier/app/instance"
|
||||
"github.com/sablierapp/sablier/app/sessions"
|
||||
"github.com/sablierapp/sablier/app/theme"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
func StartDynamic(router *gin.RouterGroup, s *routes.ServeStrategy) {
|
||||
@@ -112,7 +112,7 @@ func instanceStateToRenderOptionsRequestState(instanceState instance.State) them
|
||||
if instanceState.Message == "" {
|
||||
err = nil
|
||||
} else {
|
||||
err = fmt.Errorf(instanceState.Message)
|
||||
err = errors.New(instanceState.Message)
|
||||
}
|
||||
|
||||
return theme.Instance{
|
||||
|
||||
Reference in New Issue
Block a user