mirror of
https://github.com/openai/openai-go.git
synced 2026-04-01 17:17:14 +09:00
docs: update CONTRIBUTING.md (#51)
This commit is contained in:
committed by
GitHub
parent
48accd4f97
commit
2ecc69b487
@@ -6,13 +6,13 @@ Install go by following relevant directions [here](https://go.dev/doc/install).
|
||||
|
||||
## Modifying/Adding code
|
||||
|
||||
Most of the SDK is generated code, and any modified code will be overridden on the next generation. The
|
||||
`examples/` directory is an exception and will never be overridden.
|
||||
Most of the SDK is generated code. Modifications to code will be persisted between generations, but may
|
||||
result in merge conflicts between manual patches and changes from the generator. The generator will never
|
||||
modify the contents of the `lib/` and `examples/` directories.
|
||||
|
||||
## Adding and running examples
|
||||
|
||||
All files in the `examples/` directory are not modified by the Stainless generator and can be freely edited or
|
||||
added to.
|
||||
All files in the `examples/` directory are not modified by the generator and can be freely edited or added to.
|
||||
|
||||
```bash
|
||||
# add an example to examples/<your-example>/main.go
|
||||
|
||||
Reference in New Issue
Block a user