Skip to content

Instantly share code, notes, and snippets.

@dumindu
Created March 17, 2024 11:15
Show Gist options
  • Save dumindu/153b6cf8a346d3a1aad51e17291d4dda to your computer and use it in GitHub Desktop.
Save dumindu/153b6cf8a346d3a1aad51e17291d4dda to your computer and use it in GitHub Desktop.
Warmly welcome your suggestions, desired changes, and innovative ideas
to improve https://learning-cloud-native-go.github.io docs.
Good luck with Learning Cloud Native Go! ~ Dumindu
@BarbarianBunny
Copy link

BarbarianBunny commented Jun 29, 2025

At docker-compose.yml
it has version: '3' in the docker-compose.yml code.
This line should be removed as it gives a warning 'version' is obsolete when docker-compose build is used

@dumindu
Copy link
Author

dumindu commented Jun 29, 2025

@BarbarianBunny Thanks for reporting. Updated the docs.

  • docker-compose.yml -> compose.yml
  • docker-compose -> docker compose

@BarbarianBunny
Copy link

6. Update cmd/api/main.go Typo

  • validatorUil -> validatorUtil
  • v := validatorUil.New() -> v := validatorUtil.New()
import validatorUil "myapp/util/validator"

func main() {
	c := config.New()
	v := validatorUil.New()

@dumindu
Copy link
Author

dumindu commented Jul 14, 2025

@BarbarianBunny Sorry for the later reply and thanks again for reporting these. Updated the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment