File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
steering_docs/kotlin-tech Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -243,16 +243,6 @@ kotlin/services/{service}/src/main/kotlin/com/kotlin/{service}/
243243- Actions classes: ` {Service}Actions.kt `
244244- Scenarios: ` {Service}Basics.kt ` or ` {Service}Scenario.kt `
245245
246- ### Snippet Tag Placement
247- Place snippet tags around entire functions or classes:
248- ``` kotlin
249- // snippet-start:[{service}.kotlin.hello.main]
250- suspend fun main () {
251- // Entire function content
252- }
253- // snippet-end:[{service}.kotlin.hello.main]
254- ```
255-
256246### Multiple Excerpts
257247For complex examples, use multiple excerpts:
258248``` yaml
@@ -264,13 +254,3 @@ excerpts:
264254 snippet_tags :
265255 - {service}.kotlin.{service}_scenario.main
266256` ` `
267-
268- ### Suspend Functions
269- Kotlin examples often use suspend functions for async operations:
270- ` ` ` kotlin
271- // snippet-start:[{service}.kotlin.{action_name}.main]
272- suspend fun {actionMethod}({service}Client : {Service}Client, param: String): {ActionName}Response {
273- // Implementation
274- }
275- // snippet-end:[{service}.kotlin.{action_name}.main]
276- ```
You can’t perform that action at this time.
0 commit comments