anchor.diff:  
   # build go lang examples first in a separate layer
   
  -FROM apachepulsar/pulsar-all:latest as pulsar-function-go
  +FROM apachepulsar/pulsar:latest as pulsar-function-go
   
   USER root
   
  
positive.code: # copy go test examples
  COPY --from=pulsar-function-go /go/bin /pulsar/examples/go-examples
  
  # change ownership of files
  RUN chown -R pulsar:0 /pulsar && chmod -R g=u /pulsar
  
  
negative.code: ENV GOLANG_VERSION 1.13.3
  
  RUN curl -sSL https://storage.googleapis.com/golang/go$GOLANG_VERSION.linux-amd64.tar.gz \
  		| tar -C /usr/local -xz
  
  # RUN wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz && tar -xvf go1.13.3.linux-amd64.tar.gz && mv go /usr/local
  # RUN export GOROOT=/usr/local/go && export GOPATH=$HOME/go && export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
  