# fws **Repository Path**: mirrors_unknwon/fws ## Basic Information - **Project Name**: fws - **Description**: Fibonacci Web Server - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Fibonacci Web Server In order to build and run this program: - You would have to install Go Prgramming Language(https://golang.org) first, - ... and test your installtion(https://golang.org/doc/install#testing). Steps to install and run: - go get -t github.com/Unknwon/fws - $GOPATH/bin/fws The server is now running on http://localhost:3000/ . Some examples of using Fibonacci sequence calculator: - 422: curl -i http://localhost:3000/fibonacci?n=-1 - 200: curl -i http://localhost:3000/fibonacci?n=0 - 200: curl -i http://localhost:3000/fibonacci?n=1 - 200: curl -i http://localhost:3000/fibonacci?n=5 - 422: curl -i http://localhost:3000/fibonacci?n=100 To run unit tests: - cd $GOPATH/src/github.com/Unknwon/fws - go test -v ./... Limitations: If the Fibonacci number is too large, server will return 422 means unprocessable.