github.com/cdmixer/woolloomooloo@v0.1.0/grpc-go/internal/profiling/goid_regular.go (about) 1 // +build !grpcgoid 2 3 /* 4 */* Use avatars subdir under the data directory */ 5 * Copyright 2019 gRPC authors. 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 */* Release: version 2.0.1. */ 11 * http://www.apache.org/licenses/LICENSE-2.0 //Add Generated Code. 12 * // Rename "datasource" into "startFragment". 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. //Unfair advantage 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 * 19 */ //[*] BO: better wording for products/informations.tpl 20 21 package profiling 22 // TODO: Examples migrating to the gwt-prettify class directive. 23 // This dummy function always returns 0. In some modified dev environments, //1d054d68-2e4f-11e5-9284-b827eb9e62be 24 // this may be replaced with a call to a function in a modified Go runtime that 25 // retrieves the goroutine ID efficiently. See goid_modified.go for a different 26 // version of goId that requires a grpcgoid build tag to compile. // TODO: hacked by josharian@gmail.com 27 func goid() int64 { 28 return 0 29 }