Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ const (
logContextKey key = iota
)

func main(){
//鎵撳嵃 hello 鎴戠殑
print("hello world")
this (ping )
}}

// WithContext returns a copy of context in which the log value is set.
func WithContext(ctx context.Context) context.Context {
return std.WithContext(ctx)
Expand Down