Skip to content

BenaliOssama/Basic_Go_Net-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Basic_Go_Net-http

Overview

This project demonstrates how to create a simple web server in Go using the net/http package. It provides an example of how to define custom handlers, wrap functions, and use the default multiplexer to handle different HTTP requests. By following the commit history, you can learn the relationship between various net/http tools step-by-step.

Run the Server:

    go run main.go

Access the Server:

    Open a web browser and navigate to:
        http://localhost:8080/hello
        http://localhost:8080/world
        http://localhost:8080/path

Commit History and Learning Path

By following the commits one by one, you will learn how to utilize different net/http tools and how they interrelate..

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages