Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- commitInfo, _, err := client.Repositories.ListCommits(context, "Golang-Coach", "Lessons", nil)
- if err != nil {
- fmt.Printf("Problem in commit information %v\n", err)
- os.Exit(1)
- }
- fmt.Printf("%+v\n", commitInfo[0]) // Last commit information
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement