Skip to content

Fiber is an Express inspired web framework built on top of Fasthttp, the fastest HTTP engine for Go. Designed to ease things up for fast development with zero memory allocation and performance in mind.

Notifications You must be signed in to change notification settings

mohammadhasanii/Golang-Fiber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Logo

Golang-Fiber

Fiber is an Express inspired web framework built on top of Fasthttp, the fastest HTTP engine for Go. Designed to ease things up for fast development with zero memory allocation and performance in mind.

Hello Fiber (Golang Framework)

package main

import "github.com/gofiber/fiber/v2"


func bootstrap(){

	app.Get("/", func(c *fiber.Ctx) error {
	
		return c.SendString("Hello, Fiber (Golang Framework)")
	  })
    
	  app.Listen(":3000")
    
}


func main(){

	bootstrap()
}

Running app

Run this command to start your server

  go run main.go

Result

Browse to http://localhost:3000 and you should see Hello, Fiber Message! on the page.

About

Fiber is an Express inspired web framework built on top of Fasthttp, the fastest HTTP engine for Go. Designed to ease things up for fast development with zero memory allocation and performance in mind.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages