unleash-go-sdk
Unleash client SDK for Go
파일 탐색기
최종 버전 다운로드 (.zip)- add-to-project.yml
- build-prs.yml
- build.yml
- stale.yml
- api_response.go
- constraint.go
- delta.go
- delta_test.go
- feature.go
- feature_test.go
- response.go
- strategy.go
- variant.go
- variant_test.go
- context.go
- context_test.go
- event.go
- metrics.go
- check.go
- check_test.go
- operator_cidr.go
- operator_cidr_test.go
- operator_date.go
- operator_date_test.go
- operator_in.go
- operator_in_test.go
- operator_num.go
- operator_num_test.go
- operator_regex.go
- operator_regex_test.go
- operator_semver.go
- operator_semver_test.go
- operator_str.go
- operator_str_test.go
- context.go
- context_test.go
- metric_types.go
- metric_types_test.go
- metrics_api.go
- metrics_api_test.go
- application_hostname.go
- application_hostname_test.go
- default.go
- default_test.go
- flexible_rollout.go
- flexible_rollout_test.go
- gradual_rollout_random.go
- gradual_rollout_random_test.go
- gradual_rollout_session_id.go
- gradual_rollout_session_id_test.go
- gradual_rollout_user_id.go
- gradual_rollout_user_id_test.go
- helpers.go
- helpers_test.go
- remote_address_test.go
- remote_addresss.go
- user_with_id.go
- user_with_id_test.go
- strategy.go
- .gitignore
- adaptive_fetcher.go
- adaptive_fetcher_test.go
- benchmark_test.go
- bootstrap_storage.go
- client.go
- client_test.go
- config.go
- debuglistener.go
- demo_app_toggles.json
- doc.go
- example_bootstrap_from_file_test.go
- example_custom_strategy_test.go
- example_fallback_func_test.go
- example_simple_usage_test.go
- example_with_instance_test.go
- failover.go
- failover_test.go
- feature_cache.go
- feature_state.go
- go.mod
- go.sum
- impact_metrics_test.go
- impression.go
- impression_test.go
- LICENSE
- Makefile
- metrics.go
- metrics_test.go
- nooplistener.go
- nooplistener_test.go
- polling_fetcher.go
- polling_fetcher_test.go
- README.md
- spec_test.go
- storage.go
- streaming_configuration_test.go
- streaming_delta_integration_test.go
- streaming_fetcher.go
- streaming_fetcher_test.go
- streaming_integration_test.go
- unleash.go
- unleash_mock.go
- unleash_test.go
- utils.go
- utils_test.go
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/Unleash/unleash-go-sdk
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd unleash-go-sdk
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Go
보통 추천go build ./...
Go 프로그램을 컴파일해 실행 파일을 만듭니다.
go run .
따로 빌드하지 않고 바로 Go 프로그램을 실행합니다.
빌드가 에러 없이 끝나면 성공입니다. go run . 을 썼다면 터미널 출력을 확인하세요.
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make # vet + tests
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
make test-race # tests with the race detector
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
make fmt # format code
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
make fmt-check # check formatting without writing
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
make strict-check # vet + golint
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
