Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- 리뷰
- channel
- json
- http
- Callback
- FOR
- range
- package
- Python
- install
- 책
- windows
- Linux
- File
- Golang
- window
- Sync
- JavaScript
- c++
- tcp
- Close
- bitcoin
- API
- C
- go
- go언어
- write
- GO 언어
- mutex
- 영화
Archives
- Today
- Total
목록New (1)
Code Habit
golang ) 연결 리스트 사용하기
"container/list" 패키지를 사용하면 go에서 연결리스트를 사용할 수 있다. 다음은 "container/list"에서 연결리스트를 사용하기 위해 제공하는 함수이다. func New() *List: 연결 리스트 생성 func (I *List) PushBack(v interface{}) *Element : 맨 뒤에 노드 추가 func (I *List) PushFront(v interface{}) *Element : 맨 앞에 노드 추가 func (I *List) PushBackList(other* List) : 맨 뒤에 다른 리스트를 붙임 func (I *List) PushFrontList(other* List) : 맨 앞에 다른 리스트를 붙임 func (I *List) InsertAfter(v i..
카테고리 없음
2020. 6. 17. 08:25