Goa is a framework for creating APIs and microservices in Golang. It helps in designing API using a design language (DSL).
Questions tagged [goa]
9 questions
11
votes
2 answers
How to install Go package manually from source code
I'm living in China and is not able to download & install GO package through command (event I use the vpn network):
go get -u
but I can access the repo_url and downloand its source code.
So my question is can I put the scource code…

rellocs wood
- 1,381
- 4
- 21
- 36
2
votes
0 answers
No validation error for additional fields in request payload using goa
current situation
for our service we have the current working implementation (same behaviour for all other endpoints):
var _ = goa.Service("serviceDemo", func() {
goa.Method("secondEndpoint", func() {
…

Amal Boushaki
- 21
- 1
2
votes
0 answers
Using docker and goa providing connection refused
Hey all any help is very much appreciated, I have been stuck on this for a week now...
I am trying to put my golang backend api built by the framework goa inside of a docker container.
When I build and run the go binary the server works as intended,…

Skyler Seifert
- 33
- 2
2
votes
1 answer
Using MultipartRequest to upload file
I'm using Goa v3 to design an endpoint that allows me to upload files (more precisely, images) with a multipart/form-data POST request.
I have declared the following Service:
var _ = Service("images", func() {
HTTP(func() {
…

Gerardo Roza
- 2,746
- 2
- 24
- 33
1
vote
1 answer
how to configure docker containers proxy?
how to configure docker containers proxy ?
First of all,
I tried to use the way that setted '/etc/systemd/system/docker.service.d/http-proxy.conf' (https://docs.docker.com/config/daemon/systemd/#httphttps-proxy) and it really works for docker…

shequeen Qin
- 59
- 1
- 7
0
votes
0 answers
Executing bash script from Go using goa-webFramework / Command not executing
Tech-stack: HyperledgerFabric 1.4, Project-repository- FirstNetwork under FabricSamples
Go – v1.15 , Goa- v3.2.5
Requirement: Using Goa framework, I need to trigger a Post request(http://localhost:8000/createChannelProfile) and it has to return the…

Archana
- 1
- 2
0
votes
1 answer
static files not served correctly when using wildcard
Using GOA, I defined a service to serve static files using a wildcard (as described in the documentation):
var _ = Service("static", func() {
Files("/static/*filepath", "./static/")
})
But when I run the service, the endpoint always retrieves…

Gerardo Roza
- 2,746
- 2
- 24
- 33
0
votes
0 answers
How do I debug a Goa application using Goland?
I'm new to Goa and the Goland IDE, currently I'm resorting to fmt.Println() to debug parts of my application, however this isn't ideal.
I have Goland setup to run my Goa application, and that works fine - I simply pointed my run configuration to the…

Jonathan Eustace
- 2,469
- 12
- 31
- 54
-3
votes
2 answers
Object containing a map?
I'm trying to get a list of all of our endpoints.
We use Goa.
I noticed that we add all of our endpoints to a service (goa.New("service_name")). I also realized that if I print service.Mux I can see all the endpoints. However, the endpoints look…

BigBug
- 6,202
- 23
- 87
- 138