Skip to content

gorun=True callback error #5

@aadog

Description

@aadog

gorun=True callback error

func Test(n int, fn func(s string)) {
	for i := 0; i < n; i++ {
		time.Sleep(time.Second)
		fmt.Printf("write %d\n", i)
	}
	fn("ok")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions