Git Product home page Git Product logo

006806's Introduction

Go 언어 웹 프로그래밍 철저 입문

Go 언어, 이렇게 활용한다!

Go 언어다운 프로그래밍을 배운다

Go는 간결하고 유연한 문법을 지원하며, 고루틴으로 병행 처리 코드를 쉽게 작성할 수 있다. 또한, 상속이 아닌 조합으로 코드를 재사용하여 확장성이 좋고, 패키지화된 소스 코드에서 실제로 사용되는 부분만 컴파일하므로 컴파일 속도가 매우 빠르다. 이런 특징들을 고려하여 Go 언어다운 프로그래밍 방법을 설명한다.

확장성이 좋고 유연한 마이크로 프레임워크를 만든다

각 상황에 맞게 Go 기본 라이브러리와 다양한 외부 패키지를 조합하여 마이크로 서비스 형태로 자신만의 프레임워크 제작 방법을 배운다. 이렇게 만든 마이크로 프레임워크로는 여러 사용자가 실시간으로 대화할 수 있는 채팅 애플리케이션을 만든다.

Revel 프레임워크로 빠르게 웹 애플리케이션을 만든다

풀스택 프레임워크 Revel은 웹 개발에 필요한 기능 대부분을 제공하므로 웹 애플리케이션을 아주 빠르게 제작할 수 있고, 이미 만들어진 웹 애플리케이션에 기능을 추가하기도 쉽다. 이 책에서는 Revel을 활용하여 웹 애플리케이션을 만든다.

006806's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

006806's Issues

server.go 에서 handler 에러 (http.ListenAndServe)

/ch08/app/server.go

Line 37
// 웹서버 시작
if err := http.ListenAndServe(addr, s); err != nil {
panic(err)
}
에서 s 가 Handler type이 아니라고 실행이 되지 않습니다.
에러 코드 :
.\server.go:51: cannot use s (type *Server) as type http.Handler in argument to http.ListenAndServe:
*Server does not implement http.Handler (missing ServeHTTP method)

그래서
if err := http.ListenAndServe(addr, s.startHandler); err != nil {
panic(err)
}
처럼 s.startHandler 를 해봐도 같은 에러가 납니다.
.\server.go:50: cannot use s.startHandler (type HandlerFunc) as type http.Handler in argument to http.ListenAndServe:
HandlerFunc does not implement http.Handler (missing ServeHTTP method)

이걸 수정이 가능 한가요?

구글북스 4.2 오탈자

screen shot 2016-07-23 at 3 15 00 pm

eBooks (구글북스) 4.2장에 main함수 아래 m := make(numberMap)가 빠져있습니다.
어디에다 신고해야 할지 몰라 여기다 글 남기고 갑니다.

구글북스 8.5 오탈자

screen shot 2016-07-24 at 5 54 12 pm

eBooks(구글북스)에 함수 서명이 잘못되어있습니다.
Func) HandlerFunc { -> func recoverHandler(next HandlerFunc) HandlerFunc {

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.