Skip to content

In page 709 panic: Cannot find service http.Handler #2

Description

@abutwang

in 32-platform-partII and pro g page709

i have problem

panic: Cannot find service http.Handler

goroutine 1 [running]:
platform/services.resolveFunctionArguments({0x1402c78, 0x1650780}, {0x13627a0, 0x13def18, 0x13}, {0xc000129ec0, 0x1, 0x1})
d:/abut.software/go/platform/services/core.go:79 +0x2d7
platform/services.invokeFunction({0x1402c78, 0x1650780}, {0x13627a0, 0x13def18, 0x13}, {0xc000129ec0, 0x1, 0x1})
d:/abut.software/go/platform/services/core.go:88 +0xae
platform/services.CallForContext({0x1402c78, 0x1650780}, {0x13627a0, 0x13def18}, {0xc000129ec0, 0x1, 0x1})
d:/abut.software/go/platform/services/functions.go:16 +0xe5
platform/services.Call({0x13627a0, 0x13def18}, {0xc000129ec0, 0x1, 0x1})
d:/abut.software/go/platform/services/functions.go:10 +0xbe
platform/placeholder.Start()
d:/abut.software/go/platform/placeholder/startup.go:22 +0xf8
main.main()
d:/abut.software/go/platform/main.go:11 +0x14

I think : may be error at “results, err := services.Call(http.Serve, createPipeline())”

http.Serve need (addr string, handler http.Handler),maybe createPipeline() do not return http.Handler

so this is bug?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions