Debian Codegraph @

cmd/panic/internal/utf8/utf8.go

raw
1 // Copyright 2020 Marc-Antoine Ruel. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file.
4
5 // Package ùtf8 tests a package and function with non-ASCII names.
6 //
7 // The filename itself does not contain unicode as this causes issues
8 // importing panicparse under bazel. For more context, see PR #78.
9 package ùtf8
10
11 // Strùct is a totally normal structure with a totally normal name.
12 type Strùct struct {
13 }
14
15 // Pànic panics.
16 func (s *Strùct) Pànic() {
17 panic(42)
18 }