updated dependencies and go
This commit is contained in:
@@ -2,8 +2,8 @@ package ginext
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/gin-gonic/gin"
|
||||
"git.blackforestbytes.com/BlackForestBytes/goext/langext"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
type downloadDataHTTPResponse struct {
|
||||
@@ -48,7 +48,7 @@ func (j downloadDataHTTPResponse) Statuscode() int {
|
||||
}
|
||||
|
||||
func (j downloadDataHTTPResponse) BodyString(*gin.Context) *string {
|
||||
return langext.Ptr(string(j.data))
|
||||
return new(string(j.data))
|
||||
}
|
||||
|
||||
func (j downloadDataHTTPResponse) ContentType() string {
|
||||
|
||||
Reference in New Issue
Block a user