🔥A cross-language distributed transaction manager. Support xa, tcc, saga, transactional messages. 跨语言分布式事务管理器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
412 B

# dev env https://www.dtm.pub/other/develop.html
all: fmt lint test_redis
.PHONY: all
fmt:
@gofmt -s -w ./
lint:
revive -config revive.toml ./...
.PHONY: test
test:
@go test ./...
test_redis:
TEST_STORE=redis go test ./...
test_all:
TEST_STORE=redis go test ./...
TEST_STORE=boltdb go test ./...
TEST_STORE=mysql go test ./...
TEST_STORE=postgres go test ./...
cover_test:
./helper/test-cover.sh