mirror of
https://github.com/google/gops.git
synced 2025-04-11 11:12:01 +02:00
add example
This commit is contained in:
parent
6c79871f59
commit
eab0545713
15
examples/hello/main.go
Normal file
15
examples/hello/main.go
Normal file
@ -0,0 +1,15 @@
|
||||
// Copyright 2013 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
_ "hello/gops/agent"
|
||||
)
|
||||
|
||||
func main() {
|
||||
time.Sleep(time.Hour)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user