fib

command module
v0.0.0-...-1817b1d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

README

fib

  1. install golang and psql on Linux env

  2. change the psql password to "abc123" for user "postgres"

  3. create database "testdb", creat table "newfib", this table has two fields "mykey" and "value" mykey is the Fib input number, value is the Fibonacci value.

  4. run "make fib" to start Fibnacci server

  5. run "make test" to run test cases, it will do test twice, we can see the time difference.

Notice:

  1. I create a docker file. Since bring both psql server and fib server to docker env will ccause some extra work, we will discuss this in the interview process.
  2. Current code works for n<= 46

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL