"Go 리터럴"의 두 판 사이의 차이

 
20번째 줄: 20번째 줄:
* [[Go 배열 리터럴]]
* [[Go 배열 리터럴]]
* [[Go 구조체 리터럴]]
* [[Go 구조체 리터럴]]
* [[Go 슬라이스 리터럴]]
* [[Go redundant type from array, slice, or map composite literal]]
* [[Go redundant type from array, slice, or map composite literal]]
}}
}}


[[분류: Go 리터럴]]
[[분류: Go 리터럴]]

2022년 2월 10일 (목) 21:56 기준 최신판

1 개요[ | ]

Go literals
Go 리터럴
package main
  
import "fmt"
  
func main() {
    numbers := []int{5, 3, 9, 0}
    fmt.Println(numbers)
}

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}