Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/ee/agent-smith/cmd/testtarget/main.go
2501 views
1
// Copyright (c) 2022 Gitpod GmbH. All rights reserved.
2
// Licensed under the GNU Affero General Public License (AGPL).
3
// See License.AGPL.txt in the project root for license information.
4
5
package main
6
7
import (
8
"fmt"
9
"time"
10
)
11
12
func main() {
13
time.Sleep(30 * time.Second)
14
agentSmithTestTarget()
15
}
16
17
// don't inline to produce an elf entry
18
//
19
//go:noinline
20
func agentSmithTestTarget() {
21
fmt.Println("something")
22
}
23
24