Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update server.go #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update server.go #77

wants to merge 1 commit into from

Commits on Jul 22, 2018

  1. Update server.go

    As a beginner many, including myself, my use this hello world sample as a starting point to learn and test. However c.String can't be used for much more, at lest for a beginner, than to just do a simple test. Once I started to add lines the rendering was all off. It took me 2 days to find/figure out I had to use c.HTML instead of c.String to output HTML pages. So, perhaps, may be bet to have c.HTML in the hello world instead as to make it easier for newcomers to use the code as a starting point.
    francisco1844 committed Jul 22, 2018
    Configuration menu
    Copy the full SHA
    250b08c View commit details
    Browse the repository at this point in the history