CSS

    golang echo stylesheet 불러오기

    echo로 만든 템플릿 상에서 처럼 하기만 하면 될 줄 알았는데 안된다. 찾아보니 Static 함수를 사용해서 주소를 잡아줘야 되는 거 같다. e.Static("/static", "assets") main() 함수에 echo 실행 이후 위 코드처럼 static을 작성해주면 이렇게만 써도 알아서 데려오더라. 파일 경로는 go폴더/assets/css/style.css 도움이 됐던 정보들 https://echo.labstack.com/guide/static-files/ Echo - High performance, minimalist Go web framework Echo is a high performance, extensible, minimalist web framework for Go (Golang). e..