INNER CODE UNIT · Go

GetPortConnection

caohoangnam/go-clean-architecture · config/database.go:155

func GetPortConnection() string {
	return port
}

func onMeowCreated(m events.MeowCreatedMessage) {
	meow := domain.Meow{
		Id:        m.Id,
		Body:      m.Body,
		CreatedAt: m.CreatedAt,
	}
	if err := search.Create(context.Background(), meow); err != nil {
		log.Println(err)
	}
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…