Skip to content

Commit

Permalink
feat: atualizar opções de menu para introdução em Documentação e Test…
Browse files Browse the repository at this point in the history
…es e Benchmarking
  • Loading branch information
fabianoflorentino committed Dec 22, 2024
1 parent 568d0db commit 87b69e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/documentacao/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Documentacao() {
// an ExecFunc that executes the corresponding section.
func MenuDocumentacao([]string) []format.MenuOptions {
return []format.MenuOptions{
{Options: "--introducao", ExecFunc: func() { executeSections("Introdução") }},
{Options: "--introducao-documentacao", ExecFunc: func() { executeSections("Introdução") }},
{Options: "--go-doc", ExecFunc: func() { executeSections("go doc") }},
{Options: "--godoc", ExecFunc: func() { executeSections("godoc") }},
{Options: "--pkg-go-dev", ExecFunc: func() { executeSections("https://pkg.go.dev/") }},
Expand Down
4 changes: 2 additions & 2 deletions internal/teste_benchmarking/topics.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ func TesteEBenchmarking() {
// MenuTesteEBenchmarking returns a slice of MenuOptions, each representing a different
// testing and benchmarking topic. Each MenuOption contains an option string and an
// associated function to execute the corresponding section. The available options are:
// --introducao, --testes-em-tabelas, --testes-como-exemplo, --go-fmt-govet-golint,
// --introducao-testes-benchmarking, --testes-em-tabelas, --testes-como-exemplo, --go-fmt-govet-golint,
// --benchmark, and --cobertura.
func MenuTesteEBenchmarking([]string) []format.MenuOptions {
return []format.MenuOptions{
{Options: "--introducao", ExecFunc: func() { executeSections("Introdução") }},
{Options: "--introducao-testes-benchmarking", ExecFunc: func() { executeSections("Introdução") }},
{Options: "--testes-em-tabelas", ExecFunc: func() { executeSections("Testes em tabelas") }},
{Options: "--testes-como-exemplo", ExecFunc: func() { executeSections("Testes como exemplo") }},
{Options: "--go-fmt-govet-golint", ExecFunc: func() { executeSections("go fmt, govet e golint") }},
Expand Down

0 comments on commit 87b69e5

Please sign in to comment.