File tree
Expand file treeCollapse file tree1 file changed
+15
-0
lines changed 07-packages/strings/greeting
Expand file treeCollapse file tree1 file changed
+15
-0
lines changed Original file line number | Diff line number | Diff line change |
---|
|
| 1 | +// Nested Package |
| 2 | +package greeting |
| 3 | + |
| 4 | +// Exported |
| 5 | +const ( |
| 6 | +WelcomeText = "Hello, World to Golang" |
| 7 | +MorningText = "Good Morning" |
| 8 | +EveningText = "Good Evening" |
| 9 | +) |
| 10 | + |
| 11 | +// Not exported (only visible inside the `greeting` package) |
| 12 | +var loremIpsumText = `Lorem ipsum dolor sit amet, consectetur adipiscing elit, |
| 13 | +sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad |
| 14 | +minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea |
| 15 | +commodo consequat.` |
You can’t perform that action at this time.
0 commit comments