Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

meeshkan/golang-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of using Unmock server for testing HTTP traffic in Go

Instructions

Creating a build

go build -o example-golang -v
// or
make build

Running tests

To run tests, you either need to use the Unmock server and use that as network proxy in your tests or create a GitHub access token. The access token should be added as the GITHUB_TOKEN environment variable in .env file. The token only needs public_repo access.

Run tests:

go test
// or
make test

Contributing

If you notice an error or you'd like to add something new to this example, please open an issue. We really appreciate the feedback and support!

Please note that this project is governed by the Meeshkan Community Code of Conduct. By participating in this project, you agree to abide by its terms.

About

Unmock server + Go = ❤️

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published