Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Assignment 1
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aksel Baardsen
Assignment 1
Commits
3aca7bd8
Commit
3aca7bd8
authored
5 years ago
by
Aksel Baardsen
Browse files
Options
Downloads
Patches
Plain Diff
helo -> Hello
parent
adad3386
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/root.go
+3
-8
3 additions, 8 deletions
cmd/root.go
with
3 additions
and
8 deletions
cmd/root.go
+
3
−
8
View file @
3aca7bd8
...
...
@@ -31,17 +31,12 @@ var cfgFile string
// rootCmd represents the base command when called without any subcommands
var
rootCmd
=
&
cobra
.
Command
{
Use
:
"assignment-1"
,
Short
:
"A brief description of your application"
,
Long
:
`A longer description that spans multiple lines and likely contains
examples and usage of using your application. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`
,
Short
:
"Assignment 1 in IMT2681 Cloud Technologies"
,
Long
:
`A REST web application that provides information about animal species.`
,
// Uncomment the following line if your bare application
// has an action associated with it:
Run
:
func
(
cmd
*
cobra
.
Command
,
args
[]
string
)
{
print
(
"Helo"
)
print
(
"Hel
l
o"
)
},
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment