Mohamad Esmaeilpour
Mohamad Esmaeilpour
> Any updates? It works, please look at this ``` version: '3.6' services: json: image: clue/json-server volumes: - ./json-server:/data/ command: --watch ```
> You can use the `image` attribute like this. > > ``` > api_stub: > image: clue/json-server > volumes: > - ./api.json:/data/db.json > ports: > - '1337:80' > ``` >...
> Hey, @esmaeilpour, that's in fact a good question. > > First of all, I don't want to add any friction to contributions. Like I've [written](https://github.com/RomuloOliveira/commit-messages-guide/blob/master/CONTRIBUTING.md#guidelines) in the contributing file...
I think you can use `struct_tags` like this ``` type Thing struct { id int name string `json:",omitempty"' } ```
Came across this and guess might be helpful https://github.com/jacksonliam/mjpg-streamer/issues/203#issuecomment-484513852