Repository navigation
chore: Go 기본 구조 추가 - #3
Merged
Merged
Conversation
Pull Request 요약초기 Go 프로젝트 구조를 추가하며 모듈, 실행 엔진, 내부 패키지 자리, CI 워크플로를 도입했습니다. .gitignore와 README를 업데이트하고 내부 패키지 문서 파일을 추가했습니다. 검토한 범위에서는 별도로 지적할 문제가 없습니다. 복수 모델 · 입력 12,246 · 출력 346 · 합계 12,592 토큰 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
go.mod(모듈github.com/GSMSV/GSMSV-Infra-V2,go 1.27.0)cmd/engine/main.go.GSMSV_INFRA_ADDR환경 변수로 주소를 받고(기본값 없음), SIGINT·SIGTERM이면 처리 중인 요청을 기다린 뒤 끈다. 라우트는 아직 없다internal/{api,job,resourceid,proxmox,vm}. 지금은 패키지마다 맡는 일을 적은doc.go만 있다. 폴더 구성은 Go 공식 문서 「Organizing a Go module」의 서버 프로젝트 안(cmd/+internal/)을 따랐다go test -race. 공식 액션(actions/checkout,actions/setup-go)만 쓴다.gitignore에 Go 빌드 산출물, README에 「개발」 절Test plan
gofmt -l .,go vet ./...,go build ./...,go test -race ./...통과확인