GoFin is a Go package for financial calculations and operations.
The gofin
package provides a collection of financial functions for performing various calculations related to finance. This package is designed to simplify financial calculations and provide a convenient way to handle common financial operations.
The gofin
package includes functions for calculating compound interest, present value, future value, net present value, internal rate of return, and many other financial calculations. These functions are implemented using industry-standard formulas and algorithms, ensuring accurate and reliable results.
By using the gofin
package, developers can easily incorporate financial calculations into their applications without having to write complex formulas from scratch. This package is suitable for a wide range of financial applications, including investment analysis, loan calculations, retirement planning, and more.
To install GoFin, use the following command:
go get github.com/lazarospsa/gofin
After that you just import it in your project and you can use the functions.
package main
import (
"fmt"
gofin "github.com/lazarospsa/gofin"
)
func main() {
fmt.Println(gofin.FutureValue(1000, 0.05, 10))
}
- Go - Programming Language
- @lazarospsa - Idea & Initial work
See also the list of contributors who participated in this project.