[GO] "fmt" imported but not usedcompilerUnusedImport

2021. 9. 12. 09:36·GO
728x90

"fmt" imported but not usedcompilerUnusedImport 발생시 방법

  • import "fmt" -> import _"fmt" 로 사용해야함 
  • https://golang.org/doc/faq#unused_variables_and_imports 참고

 

저작자표시

'GO' 카테고리의 다른 글

[GO] 개념  (0) 2021.09.24
[GO] is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt 발생시 처리  (0) 2021.09.13
[GO] 윈도우 설치  (0) 2021.09.12
'GO' 카테고리의 다른 글
  • [GO] 개념
  • [GO] is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt 발생시 처리
  • [GO] 윈도우 설치
집한구석
집한구석
  • 집한구석
    tgyun615.info
  • 전체
    오늘
    어제
    • 카테고리 (183)
      • JAVA (38)
      • SPRING (15)
      • KOTLIN (23)
      • NETTY (1)
      • DEVOPS (3)
      • DOCKER (7)
      • KUBERNETES (2)
      • JAVASCRIPT (1)
      • SPLUNK (3)
      • ELK (7)
      • KAFKA (2)
      • GO (4)
      • ALGORITHM & DATA STRUCTURE (9)
      • IDE (5)
      • OS (16)
      • NETWORK (14)
      • GCP (2)
      • AWS (2)
      • DATABASE (10)
      • CLEANCODE (7)
      • OTHER (12)
  • 최근 글

  • 태그

    IntelliJ
    splunk
    엘라스틱서치
    Kafka
    AWS
    Elk
    클린코드
    JPA
    java
    docker
    Spring
    자바
    이펙티브코틀린
    이펙티브 코틀린
    cleancode
    프로그래머스
    go
    SQL
    ElasticSearch
    코틀린
  • 링크

    • github
    • linkedin
    • resume
  • hELLO· Designed By 정상우. v4.10.3
집한구석
[GO] "fmt" imported but not usedcompilerUnusedImport
상단으로

티스토리툴바