Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactored ~/cmd #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gravestench
Copy link

@gravestench gravestench commented Feb 25, 2022

  • moved ~/cmd/app.go to ~/cmd/my5g-RANTester/main.go
  • refactored logging, command declaration
  • split into multiple files
  • switched to using constants and fmt.Sprintf for formatting stuff
  • removed unnecessary command aliases

to build the target, use the following:

go build ./cmd/my5g-RANTester

EDIT: added the above build command to the github workflow

* moved `~/cmd/app.go` to `~/cmd/my5g-RANTester/main.go`
* refactored logging, command declaration
* split into multiple files
* switched to using constants and fmt.Sprintf for formatting stuff
gravestench added a commit to gravestench/my5G-RANTester that referenced this pull request Mar 1, 2022
* config global state removed from the config module
* config global state now resides in main, TODO to remove it
* config now creates a default if none are found
* added command line option for specifying the config file
* added command line option to specify the log level
* config directory now looks in user dir, in a platform agnostic way.
ex: on linux, will typically look in `~/.config/my5g/RANTester` for file
`config.yml`
* updated go.mod to use go v1.16
* embedded default config file data
* errors are now bubbled up appropriately
* depends on my5G#33
@gravestench gravestench mentioned this pull request Mar 1, 2022
gravestench added a commit to gravestench/my5G-RANTester that referenced this pull request Mar 2, 2022
* config global state removed from the config module
* config global state now resides in main, TODO to remove it
* config now creates a default if none are found
* added command line option for specifying the config file
* added command line option to specify the log level
* config directory now looks in user dir, in a platform agnostic way.
ex: on linux, will typically look in `~/.config/my5g/RANTester` for file
`config.yml`
* updated go.mod to use go v1.16
* embedded default config file data
* errors are now bubbled up appropriately
* depends on my5G#33
@gravestench
Copy link
Author

is my5g dead, or something?

@baleeiro17
Copy link
Collaborator

is my5g dead, or something?

No, it is not dead, but the team is very busy these months and we haven't had much time to analyze your pull requests.

Sorry, Lucas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants