You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{Flag: "--slice-for-range", Description: "Apresenta o tópico Slice: for range.", Width: 0},
59
-
{Flag: "--slice-fatiando-ou-deletando-de-uma-fatia", Description: "Apresenta o tópico Slice: fatiando ou deletando de uma fatia.", Width: 0},
60
-
{Flag: "--slice-fatiando-ou-deletando-de-uma-fatia --resolucao", Description: "Apresenta a resolução do tópico Slice: fatiando ou deletando de uma fatia.", Width: 0},
61
-
{Flag: "--slice-anexando-a-uma-slice", Description: "Apresenta o tópico Slice: anexando a uma slice.", Width: 0},
62
-
{Flag: "--slice-make", Description: "Apresenta o tópico Slice: Make.", Width: 0},
63
-
{Flag: "--slice-multi-dimensional", Description: "Apresenta o tópico Slice: Multi Dimensional.", Width: 0},
64
-
{Flag: "--slice-a-surpresa-do-array-subjacente", Description: "Apresenta o tópico Slice: a surpresa do array subjacente.", Width: 0},
65
-
{Flag: "--maps-introducao", Description: "Apresenta o tópico Maps: introdução.", Width: 0},
66
-
{Flag: "--maps-range-e-deletando", Description: "Apresenta o tópico Maps: Range e Deletando.", Width: 0},
99
+
{Flag: "--array", Description: "Apresenta o tópico Array."},
100
+
{Flag: "--slice-literal-composta", Description: "Apresenta o tópico Slice Literal Composta."},
101
+
{Flag: "--slice-for-range", Description: "Apresenta o tópico Slice: for range."},
102
+
{Flag: "--slice-fatiando-ou-deletando-de-uma-fatia", Description: "Apresenta o tópico Slice: fatiando ou deletando de uma fatia."},
103
+
{Flag: "--slice-fatiando-ou-deletando-de-uma-fatia --resolucao", Description: "Apresenta a resolução do tópico Slice: fatiando ou deletando de uma fatia."},
104
+
{Flag: "--slice-anexando-a-uma-slice", Description: "Apresenta o tópico Slice: anexando a uma slice."},
105
+
{Flag: "--slice-make", Description: "Apresenta o tópico Slice: Make."},
106
+
{Flag: "--slice-multi-dimensional", Description: "Apresenta o tópico Slice: Multi Dimensional."},
107
+
{Flag: "--slice-a-surpresa-do-array-subjacente", Description: "Apresenta o tópico Slice: a surpresa do array subjacente."},
108
+
{Flag: "--maps-introducao", Description: "Apresenta o tópico Maps: introdução."},
109
+
{Flag: "--maps-range-e-deletando", Description: "Apresenta o tópico Maps: Range e Deletando."},
67
110
}
68
111
69
112
fmt.Println("\nCapítulo 8: Agrupamento de Dados")
70
113
format.PrintHelpMe(hlp)
71
114
}
72
-
73
-
// listOfTopics executes each topic in the list.
74
-
// It iterates over a predefined list of topics and calls the executeSection
75
-
// function for each topic. This function is used to sequentially execute
76
-
// and display the content of each section.
77
-
funclistOfTopics() {
78
-
listOfTopics:= []string{
79
-
"Array",
80
-
"Slice: literal composta",
81
-
"Slice: for range",
82
-
"Slice: fatiando ou deletando de uma fatia",
83
-
"Slice: anexando a uma slice",
84
-
"Slice: make",
85
-
"Slice: multi dimensional",
86
-
"Slice: a surpresa do array subjacente",
87
-
"Maps: introdução",
88
-
"Maps: range e deletando",
89
-
}
90
-
91
-
for_, topic:=rangelistOfTopics {
92
-
executeSection(topic)
93
-
}
94
-
}
95
-
96
-
// executeSection formats and processes a specific section of data.
97
-
// It takes a section name as a string parameter and uses the FormatSection
98
-
// function from the format package to format the section within the root directory.
99
-
//
100
-
// Parameters:
101
-
// - section: A string representing the name of the section to be formatted.
0 commit comments