You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A project's transitive dependencies are those dependencies that it does not import itself, but are imported by one of its dependencies. If each letter in A -> B -> C -> D represents a distinct project containing only a single package, and -> indicates an import statement, then C and D are A's transitive dependencies, whereas B is a direct dependency of A.
The text was updated successfully, but these errors were encountered:
Package initialization 챕터에 언급된 dependency, transitive dependency 와 depend on 에 관한 번역 제안과 참고 자료입니다.
go lang에서의 dependency
go lang 에서는 dependency(depend on 포함) 라는 용어는 패키지 레벨의 변수(package-level variables) 초기화와 package import와 관련된 내용에서 사용되고 있습니다.
위의 예제에서 변수
b
의 초기화 식에서f()
를 참조하고 있고,f()
의 본문에서 변수d
를 참조하고 있으므로,b depends on d
라고 표현할 수 있습니다. depend on 과 관련된 번역문으로는b는 d에 의존한다
b는 d에 의해 결정된다
등이 제안되었으며, 대부분의 프로그래밍 언어에서 dependency가
의존성
으로 번역하기 때문에 depend on 에 대한 번역 역시b는 d에 의존한다
가 가장 적합할 것 같습니다.transitive dependency
전이적 의존성과 관련해서는 dep 프로젝트 용어집에서 자세한 설명이 있네요.
https://golang.github.io/dep/docs/glossary.html#transitive-dependency
A project's transitive dependencies are those dependencies that it does not import itself, but are imported by one of its dependencies. If each letter in A -> B -> C -> D represents a distinct project containing only a single package, and -> indicates an import statement, then C and D are A's transitive dependencies, whereas B is a direct dependency of A.
The text was updated successfully, but these errors were encountered: