Skip to content

Commit

Permalink
Merge branch 'main' into vb/genaisdk-samples-1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Valeriy-Burlaka committed Feb 12, 2025
2 parents 71816aa + 0a04b0c commit 607638b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 14 deletions.
5 changes: 3 additions & 2 deletions appengine/go11x/helloworld/helloworld.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@
// Sample helloworld is an App Engine app.
package main

// [START import]
// [START gae_go111_import]
import (
"fmt"
"log"
"net/http"
"os"
)

// [END import]
// [END gae_go111_import]

// [START main_func]

func main() {
Expand Down
2 changes: 0 additions & 2 deletions endpoints/getting-started/openapi-appengine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
# limitations under the License.

# [START endpoints_swagger_appengine_yaml_go]
# [START swagger]
swagger: "2.0"
info:
description: "A simple Google Cloud Endpoints API example."
title: "Endpoints Example"
version: "1.0.0"
host: "YOUR-PROJECT-ID.appspot.com"
# [END swagger]
# [END endpoints_swagger_appengine_yaml_go]
consumes:
- "application/json"
Expand Down
2 changes: 0 additions & 2 deletions endpoints/getting-started/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
# limitations under the License.

# [START endpoints_swagger_yaml_go]
# [START swagger]
swagger: "2.0"
info:
description: "A simple Google Cloud Endpoints API example."
title: "Endpoints Example"
version: "1.0.0"
host: "echo-api.endpoints.YOUR-PROJECT-ID.cloud.goog"
# [END swagger]
# [END endpoints_swagger_yaml_go]
consumes:
- "application/json"
Expand Down
4 changes: 0 additions & 4 deletions profiler/hotapp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START hotapp]

// Sample hotapp is a synthetic application that exhibits different types of
// profiling hotspots: CPU, heap allocations, thread contention.
package main
Expand Down Expand Up @@ -184,5 +182,3 @@ func main() {
// Simulate CPU load.
busyloop()
}

// [END hotapp]
4 changes: 0 additions & 4 deletions profiler/hotmid/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// [START hotmid]

// Sample hotmid is an application that simulates multiple calls to a library
// function made via different call paths. Each of these calls is not
// particularly expensive (and so does not stand out on the flame graph). But
Expand Down Expand Up @@ -125,5 +123,3 @@ func main() {

run()
}

// [END hotmid]

0 comments on commit 607638b

Please sign in to comment.