EpitechFetcher is a golang library that fetch the user informations with his autologin
Use the package manager go get to install EpitechFetcher.
go get -v github.com/lbrulet/EpitechFetcher
package main
import (
"fmt"
"github.com/lbrulet/EpitechFetcher"
)
func main() {
if user, notes, err := EpitechFetcher.Link("auth-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "luc.brulet@epitech.eu"); err != nil {
fmt.Println(err)
} else {
fmt.Println(user, notes)
}
}
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request