-
I have a new type `MyTime`, and it has implements `encoding/json.Unmarshaler`.
```go
const defaultTimeLayout = "2006-01-02 15:04:05"
type MyTime time.Time
func (t *MyTime) UnmarshalJSON(da…
-
### Describe the bug
`opentelemetry-go-instrumentation` binary crashes if there is an external HTTP call, e.g., `http.Get`, in the program to be instrumented.
### Environment
- OS: Linux mat…
-
I am trying to add this middleware
```go
func CORS () gin.HandlerFunc {
return func(context *gin.Context) {
context.Writer.Header().Add("Access-Control-Allow-Origin", "*")
…
-
Any way to use this with the [gin](https://github.com/gin-gonic/gin) framework? See issue [here](https://github.com/gin-gonic/gin/issues/293)
-
-
使用gin框架启动服务,试了下没有效果
`
package main
import (
"encoding/json"
"fmt"
"github.com/garyburd/redigo/redis"
"github.com/gin-gonic/gin"
)
func main() {
c1, err := redis.Dial("tcp", "127.0.0.1…
-
I added the model in gguf format from llama3_instruct_70b_q8 to ollama and used ollama for inference, and got the error shown below:
```
time=2024-04-24T15:08:27.886+08:00 level=WARN source=server.g…
-
### Describe the bug
When starting, an error is reported as follows, How to solve this problem, thank you!
```
{"level":"info","ts":1705306464.9162376,"logger":"go.opentelemetry.io/auto","calle…
-
https://github.com/alingse/go-linter-runner/blob/main/jobs/testifylint.yaml
```
name: testifylint
linter: testifylint
workdir: .
install: go install github.com/Antonboom/testifylint@latest
inc…
-
Telegram has a limit, it's not possible to read more than 1000000 messages per channel, and Teldrive can't access to older files than 1000000. Is it possible to use more than one channel to the same T…