Skip to content

docs for Creating a RESTful Service - Go need some work #1731

@powellquiring

Description

@powellquiring

Started in: https://knative.dev/docs/serving/samples/rest-api-go/

image

The first circled cd does not work:

~/go/src/github.com $    cd knative-docs/serving/samples/rest-api-go
-bash: cd: knative-docs/serving/samples/rest-api-go: No such file or directory

did you mean?:

cd knative-docs/serving/samples/rest-api-go

The second circled cd does not exist for me. In the first git clone did you want this done in the $GOPATH directory? I installed the latest version of go and it does not require GOPATH any longer, should this be in the ~/go directory?

Why do I cd into the rest-api-go directory and then cd into a different directory? Is there a reason that the docker build is done from the parent docs directory instead of the rest-api-go directory? If so it would be go to explain why this is.

image

Since the current directory is docs/ the docker build command should --file command should not start with docs/

I'm stuck here, I could not get any further in this sample.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions