fork download
  1. package main
  2. import "fmt"
  3.  
  4. func main(){
  5. // your code goes here
  6. }
  7.  
  8.  
  9. version: '3.5'
  10.  
  11. services:
  12. app:
  13. build: .
  14. context: .
  15. dockerfile: Dockerfile
  16. ports:
  17. - "5000:5000"
  18. depends_on:
  19. - postgres
  20.  
  21.  
  22. postgres:
  23. image: "postgres"
  24. build: .
  25. container_name: "sort_music"
  26. environment:
  27. - POSTGRES_USER=sorter
  28. - POSTGRES_PASSWORD=master
  29. - POSTGRES_DB=musicDB
  30.  
  31. ports:
  32. - "5432:5432"
  33.  
  34. volumes:
  35. - postgres-data:/var/lib/postgresql/data
  36. networks:
  37. - postgres
  38. restart: unless-stopped
  39.  
  40.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
# _/home/RhsZFM
./prog.go:9:1: syntax error: non-declaration statement outside function body
./prog.go:9:10: invalid character literal (more than one character)
./prog.go:35:27: syntax error: unexpected /, expecting name
stdout
Standard output is empty