https://github.com/imseanconroy/go-client
Go client library for custom Terraform Provider
https://github.com/imseanconroy/go-client
terraform
Last synced: about 2 months ago
JSON representation
Go client library for custom Terraform Provider
- Host: GitHub
- URL: https://github.com/imseanconroy/go-client
- Owner: ImSeanConroy
- License: mit
- Created: 2024-08-17T09:46:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-22T17:22:27.000Z (12 months ago)
- Last Synced: 2025-06-22T18:27:03.223Z (12 months ago)
- Topics: terraform
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-client
Go client library for custom Terraform Provider
## Getting Started
### Installing
To start using `go-client`, install Go and the following command:
`$ go get -u github.com/imseanconroy/go-client`
### Basic Usage
```go
package main
import (
"fmt"
"github.com/imseanconroy/go-client"
)
func main() {
token := "YOUR_TOKEN"
client, err := client.NewClient("http://localhost:3000", token)
if err != nil {
log.Fatalf("Error creating client: %v", err)
}
res, _ := client.Get("/tasks")
fmt.Println(res.Get("0.description").String())
}
```
This will print something like:
```
Create go client
```
## Contributing
Contributions are welcome. Please open an issue or submit a pull request for any enhancements or bug fixes.
## License
This project is Distributed under the MIT License - see the [LICENSE](LICENSE) file for information.
## Support
If you are having problems, please let me know by [raising a new issue](https://github.com/ImSeanConroy/go-client/issues/new/choose).