목록Programing (21)
Study Memory Work
Hello World Values Variables Constants For If/Else Switch Arrays Slices Maps Range Functions Multiple Return Values Variadic Functions Closures Recursion Pointers Strings and Runes Structs Methods Interfaces Struct Embedding Generics Errors Goroutines Channels Channel Buffering Channel Synchronization Channel Directions Select Timeouts Non-Blocking Channel Operations Closing Channels Range over ..
Lombok : dto 필수 기능들을 어노테이션으로 간편하게 자동생성해주는 기능 의존성 추가 // Gradle 버전 runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' dto 생성 public class Developer { private Integer experienceYear; private String memberId; private String name; private Integer age; } @Getter, @Setter, @NoArgsConstructor, @AllArgsConstructor @Setter // setter 메소드 자동생성 @Getter // getter 메소드 자동생성 @NoArgsCo..

아래 URL 클릭 https://start.spring.io/ Project & Language - 프로젝트 및 랭귀지를 선택해준다. Project Metadata - Group : 프로젝트 도메인 - Artifact : 프로젝트명 - Name : (보통 Artifact와 동일하게 작성) Dependencies - 초기 세팅시, 필요한 라이브러리를 미리 추가할 수 있다. - 기본적인 세팅에 많이 쓰는 라이브러리들 : lombok, web, H2 Database, data JPA, Validation 다운로드 - Expolore 클릭하여 설정한 의존성 및 버전이 맞는지 체크. - download - 다운로드된 프로젝트 zip파일을 원하는 workpace 위치에 풀어준다. - 개발환경에서 해당 폴더(프로젝트..