You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./main.go:134:3: error: range clause must have array, slice, string, map, or channel type
for _, volumestr := range service.Volumes {
^
./main.go:134:7: error: invalid type for range clause
for _, volumestr := range service.Volumes {
^
./main.go:115:59: error: incompatible type for field 3 in struct construction (cannot use type int32 as type int)
ports = append(ports, api.ContainerPort{ContainerPort: int32(portNumber)})
^
If i do
export GOROOT=/usr/lib/go
export GOPATH=$(pwd)
git pull
go get
go build .
i get
./main.go:52:18: error: reference to undefined identifier ‘config.ParseOptions’
}, nil, &config.ParseOptions{})
^
./main.go:52:30: error: missing ‘)’
}, nil, &config.ParseOptions{})
^
./main.go:61:6: error: reference to undefined field or method ‘ServiceConfigs’
if p.ServiceConfigs == nil {
^
./main.go:64:11: error: reference to undefined field or method ‘ServiceConfigs’
keys := p.ServiceConfigs.Keys()
^
./main.go:67:19: error: reference to undefined field or method ‘ServiceConfigs’
service, ok := p.ServiceConfigs.Get(name)
^
./main.go:103:3: error: range clause must have array, slice, string, map, or channel type
for _, port := range service.Ports {
^
./main.go:121:3: error: range clause must have array, slice, string, map, or channel type
for _, env := range service.Environment {
^
./main.go:134:3: error: range clause must have array, slice, string, map, or channel type
for _, volumestr := range service.Volumes {
^
./main.go:66:2: error: range clause must have array, slice, string, map, or channel type
for _, name := range keys {
^
./main.go:66:6: error: invalid type for range clause
for _, name := range keys {
^
./main.go:49:15: error: too many arguments
p := project.NewProject(&project.Context{
^
The text was updated successfully, but these errors were encountered:
When i do a go build . i get
I run
And get
If i do
i get
The text was updated successfully, but these errors were encountered: