소스 검색

docs(readme): fix step in vendor tool example

Javier Provecho Fernandez 8 년 전
부모
커밋
912a7df572
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -126,7 +126,7 @@ $ govendor add github.com/gin-gonic/gin@v1.2
 4. Copy a starting template inside your project
 
 ```sh
-$ cp ~/go/src/github.com/gin-gonic/gin/examples/basic/* .
+$ curl https://raw.githubusercontent.com/gin-gonic/gin/master/examples/basic/main.go > main.go
 ```
 
 5. Run your project