Граф коммитов

26 Коммитов

Автор SHA1 Сообщение Дата
Joel Hendrix 2c8747a7df
Update constants as enums to reflect GA design (#4750)
* Update constants as enums to reflect GA design

* revise
2022-08-30 09:46:44 -07:00
Joel Hendrix 7d74c7afe1
Clean-up of various Go design guidelines (#4556)
Updates reflect the current state of the world for naming of options and
response envelope types.
Promote client constructors that use AAD token auth or the service
preferred authentication mechanism.
Paged and long-running operations now return their respective generic
types.
Resuming an LRO now uses the resume token in the Begin* method.
2022-07-20 11:30:10 -07:00
Gyeonghun Park 46f425548c
Fix typo in golang/implementation.md (#3281)
`where` to `Where`
2021-08-23 07:51:58 -07:00
Joel Hendrix 4768bd9a02
Go clean-up (#2450)
Removed OSS Repos section per feedback.
Moved some content around.
Added section on writing idiomatic Go code.
2021-02-18 11:26:09 -08:00
Joel Hendrix 09cf996f5a
fix table of contents layout (#2348)
* fix table of contents layout

* fix links
2021-02-11 14:07:12 -08:00
Joel Hendrix 4e5628c5b5
Add section on cancellation to Go (#2319)
* Add section on cancellation to Go

Updated synchronous section with more details.

* refine
2021-02-02 20:31:09 -08:00
Ryuji Iwata a9814491cb
Fix a method name of WidgetPager (#1713) 2021-01-23 08:06:27 -08:00
Joel Hendrix 690e4855ae
Refactor Go design guidelines (#2286)
* Refactor Go design guidelines

This moves the content to follow the template used across all languages.
Topics that have not yet been covered by the guidelines were left with a
TODO comment with rare exception.
No existing content was changed in any way.

* removed optional prefix
2021-01-21 16:02:00 -08:00
Joel Hendrix 070eb14d6d
update Go to include recent changes (#2126)
* update Go to include recent changes

Clients and their receivers, along with response envelopes are passed by value.

* refactor based on feedback
2021-01-21 10:45:29 -08:00
Samer Alameer ed2a3e0259
Unifying Side Bars and updating styling (#2017)
* Consistent Sidebar & updating Styles

- Updating the site to have a consistent sidebar accross all of it's pages

- Cleaning up and reorganizing the .Net Side bar menu

- Reorganizing the Java side bar menu.

NO CONTENT changes have been done in this PR.

* Reverting Changes in index

Reverting Changes in index

* Updating broken API documentaiton links in the new Sidebar

The new Side Bar that I introduced contained wrong links so I updated them here

Co-authored-by: sameralameer <samer.m.alameer@gmail.com>
2020-11-12 16:12:51 -08:00
Joel Hendrix efe92cacd1
Updates to Go design guidelines (#1910)
* Updates to Go design guidelines

Added new dependency.
Updated section on optional method parameters.
Fixed up comments for pollers.
Some other minor tweaks.

* fix example
2020-10-12 08:42:50 -07:00
Wes Haggard a727537d54
Remove en-us from links (#1790) 2020-09-10 17:37:31 -07:00
Wes Haggard d8c70b795c
Use Alpha and Beta for our prerelease tags instead of dev and preview for all languages (#1536)
To summarize the changes:
For preview releases we will use “-beta” as the prerelease tag for all languages. Instead of “-preview”.
For daily dev builds we will use “-alpha” as the prerelease tag for all languages. Instead of “-dev”.

The move from “preview” to “beta” is to make the languages consistent and is to avoid confusion with using “preview” as it has meaning for Azure services that indicates people get discounted rates. The move from “dev” to “alpha” is to have the versions that sort older then “beta” and helps ensure that our daily dev versions, which are less stable, don’t end up as the “latest” version for our customers when they are testing out our previews. Folks will have to take an extra opt-in step if they wish to test our daily dev versions, it won’t happen by accident like it can today.

I've also added a note in each language section on how folks can remain on the daily dev/alpha version train if they want to opt-in to those versions.
2020-09-01 16:49:30 -07:00
Ryuji Iwata 3318c353b5
delete duplicated word (#1726) 2020-08-29 16:52:31 -07:00
Joel Hendrix 8c8a150cd8
update Go design guidelines with latest info (#1537)
* update Go design guidelines with latest info

* added missing *
2020-07-10 16:00:56 -07:00
Jeffrey Richter c34c4f6892
Change white list to allow list (#1446) 2020-06-15 15:26:46 -07:00
catalinaperalta c300a3d639
Updating LRO documentation to reflect new design (#1398)
* Updating LRO documentation to reflect new design

* Adding *WidgetResponse to Begin definition example

* Improving resume example, cap HTTP, removing reporter references

* Improving WidgetResponse comment

* Removing all references to ID and adding err to resume token example

* Correct poller var names in LRO examples

Co-authored-by: Catalina Peralta <caperal@microsoft.com>
2020-06-04 17:01:42 -07:00
Joel Hendrix a363c319cc
moved and renamed various go doc sections (#914)
* moved and renamed various go doc sections

* fixes based on feedback

* move LRO info around

* fixed up paged types, other clean-up

* update LRO section

* merge implementation into design

* added missing directory structure info

refactored response types

* remove links to golang_implementation

* updates to response types
2020-01-16 10:06:27 -08:00
Joel Hendrix 4261275a80
Go clean-up (#762)
* Go clean-up

Consolidated duplicate client sections.
Added details for model types.
Type-o and rewording.

* more clean-up
2019-11-05 16:41:12 -08:00
Joel Hendrix 6b808e6fa4
add section on mocks and recordings for Go (#750)
* add section on mocks and recordings for Go

* add sections for accepting interfaces instead of concrete types

* api => iface, drop API suffix
2019-10-31 14:42:16 -07:00
Joel Hendrix c508c20c7a
added section for defining enumerations in Go (#737)
* added section for defining enumerations in Go

* add section on enum type

* minor tweaks

* remove `Type` suffix requirement
2019-10-30 14:03:16 -07:00
Joel Hendrix 90bc619652
added pagination section for Go (#729)
* added pagination section for Go

* show inner loop for page iteration
2019-10-29 10:45:01 -07:00
Joel Hendrix 1bfe818045
add LRO for Go (#731)
* add LRO for Go

* add Resume prefix for hydrating operations
2019-10-26 08:10:46 -07:00
Joel Hendrix 0ae6093369
add section for Go error handling (#726) 2019-10-23 20:02:19 -07:00
Joel Hendrix a60f6999bf
Update design guidelines for Go (#723)
* Update design guidelines for Go

Added sections for logging, distributed tracing and versioning.

* feedback from review, add section about prerelease modules
2019-10-23 11:15:37 -07:00
Adrian Hall 043c6ad360
Golang guidelines DRAFT (#659)
* Initial checkin of Go guidelines - intro and docs
2019-10-02 08:22:27 -07:00