Skip to content

Build error for _example/main.go at e8ce0df0d8f29da37cce639db335293c3d43af6a #2884

@christophershirk

Description

@christophershirk

Repro:

  • git clone https://github.com/dolthub/go-mysql-server.git
  • git reset --hard e8ce0df0d8f29da37cce639db335293c3d43af6a # latest as of 2025-3-9, 17:09 UTC
  • cd go-mysql-server/_example
  • go build

Got:

go: downloading github.com/go-kit/kit v0.10.0
# github.com/dolthub/go-mysql-server/_example
./main.go:76:76: not enough arguments in call to server.NewServer
        have (server.Config, *sqle.Engine, func(ctx context.Context, conn *mysql.Conn, addr string) (sql.Session, error), nil)
        want (server.Config, *sqle.Engine, sql.ContextFactory, server.SessionBuilder, server.ServerEventListener)

Expected:
clean build

For go version go1.24.1 darwin/arm64

thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions