본문 바로가기

인턴/준비10

What is a REST API What is a REST API? | IBM In this guide, you’ll learn how REST APIs, an architectural style for managing networked applications, can ease software development processes. www.ibm.com API는 무엇인가? Application Programming Interface의 약자로 둘 이상의 computer program간 소통을 할 수 있는 방법을 정의한 규칙의 집합이다. API를 통해 어떤 system에 resource를 요청하고 그에 대한 응답을 받을 수 있다. (물론 system이 필요한 정보를 제공하는 API를 서비스하고 있다면) resource를 요청하는 측을 c.. 2023. 1. 7.
Go Language #2 module import 문제가 있어서 Go를 조금 더 심도있게 공부해야겠다는 생각이 들었다. (그냥 module 버전 문제였던 것 같은데 왜 이런 현상이 발생했는지는 의문이다.) 손대기 싫었는데.. 공식문서 스타트 Get started with Go Tutorial: Get started with Go - The Go Programming Language Tutorial: Get started with Go In this tutorial, you'll get a brief introduction to Go programming. Along the way, you will: Install Go (if you haven't already). Write some simple "Hello, world" cod.. 2023. 1. 6.
Git #4 Branching Git Theory - 4 - Branching This part of Git series covers branching concepts using checkout, merge, rebase and handling conflict scenarios bobbydreamer.com git branch 같은 파일에 대해 여러가지 버전을 독립적으로 만들고자 할 때 사용한다. 2020년의 BlackLivesMatter (BLM) 운동으로 default branch가 master에서 main으로 수정되었다고 한다. HEAD는 언제나 branch의 끝을 가리킨다. branch는 언제나 가장 최근의 commit을 가리킨다. HEAD를 다른 commit point로 옮기는 경우 HEAD의 상태를 'detached HEA.. 2022. 12. 31.
Git #3 Revert, reset and restore Git Theory - 3 - revert, reset and restore This part of Git series covers checkout, revert, reset and restore bobbydreamer.com 우리가 실생활에서 컴퓨터를 사용할 때 undo, redo를 자주 하듯이 git도 이를 지원한다. (redo가 ctrl + y인지 처음 알았는데 잘 써먹어야지) 이를 위한 명령어 종류는 그리 많지 않은데 case 설명이 길다. git checkout 1. index/staging 상태로 working directory를 업데이트 한다. 2. HEAD를 다른 branch나 commit으로 옮긴다. 여기서는 기능 1을 사용하는 방법에 대해서만 설명하였다. git checkout -- f.. 2022. 12. 30.