전체 글 (26) 썸네일형 리스트형 Go Echo Framework Docker 이미지 만들기 Go Echo Framework Default Docker 이미지 만들기 기본 Echo 코드 작성 package main import ( "net/http" "github.com/labstack/echo" "github.com/labstack/echo/middleware" ) func main() { // Echo instance e := echo.New() // Middleware e.Use(middleware.Logger()) e.Use(middleware.Recover()) // Routes e.GET("/", hello) // Start server e.Logger.Fatal(e.Start(":1323")) } // Handler func hello(c echo.Context) error { re.. Ubuntu/CentOS Docker 설치하기 qjhttps://docs.docker.com/install/linux/docker-ce/ubuntu/ Ubuntu Docker 설치 ubuntu/linux version 확인 cat /etc/*relaease* install 에는 두가지 방법이 있습니다. package를 이용해서 설치하는 방법(직접해야함) script를 이용하여 설치 하는 방법 $ curl -fsSL https://get.docker.com -o get-docker.sh $ sudo sh get-docker.sh 버전 확인 docker version CentOS Docker 설치 package를 이용해서 설치하는 방법(직접해야함) script를 이용하여 설치 하는 방법 $ curl -fsSL https://get.docker.com -.. 엑셀파일에 있는 GRS80(x,y)를 WGS84 로 변환하기 from pyproj import Proj from pyproj import transform import openpyxl WGS84 = { 'proj':'latlong', 'datum':'WGS84', 'ellps':'WGS84', } # GRS80(Geodetic Reference System 1980:측지 기준계 1980)의 타원체 GRS80 = { 'proj':'tmerc', 'lat_0':'38', 'lon_0':'127', 'k':1, 'x_0':200000, 'y_0':600000, 'ellps':'GRS80', 'units':'m' } def grs80_to_wgs84(x, y): return transform( Proj(**GRS80), Proj(**WGS84), x, y ) wb = o.. 이전 1 ··· 4 5 6 7 8 9 다음