cqrs

(★ 208)

cqrs framework in go

  • .gitignore
  • commands.go
  • commands_test.go
  • correlation.go
  • cqrs-testentities_test.go
  • cqrs-testreadmodels_test.go
  • cqrs_test.go
  • doc.go
  • event-source-based.go
  • events.go
  • events_test.go
  • eventsourcing.go
  • go.mod
  • go.sum
  • inmemory-commandbus.go
  • inmemory-commandbus_test.go
  • inmemory-eventbus.go
  • inmemory-eventbus_test.go
  • inmemory-eventstreamrepo_test.go
  • inmemory-eventstreamrepository.go
  • LICENSE
  • logger.go
  • Makefile
  • metrics.go
  • README.md
  • type-registry.go
  • uuid.go

# 설치 가이드

1. 코드 내려받기
git clone https://github.com/andrewwebber/cqrs

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd cqrs

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. Go

보통 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Go Go 언어 컴파일러 및 도구 모음입니다.
go build ./...

Go 프로그램을 컴파일해 실행 파일을 만듭니다.

go run .

따로 빌드하지 않고 바로 Go 프로그램을 실행합니다.

빌드가 에러 없이 끝나면 성공입니다. go run . 을 썼다면 터미널 출력을 확인하세요.

3. Make

보통
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make

생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.

에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation