Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Feature/refactor#27

Open
kubaj wants to merge 3 commits intomasterfrom
feature/refactor
Open

Feature/refactor#27
kubaj wants to merge 3 commits intomasterfrom
feature/refactor

Conversation

@kubaj
Copy link
Copy Markdown
Contributor

@kubaj kubaj commented Feb 24, 2017

No description provided.

Comment thread watcher_windows.go Outdated
}


func (this *WatcherJob) Stop() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method WatcherJob.Stop should have comment or be unexported
receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

Comment thread watcher_windows.go Outdated
return this.cmd.Run()
}

func (this *WatcherJob) Stop() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method WatcherJob.Stop should have comment or be unexported
receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

Comment thread watcher_windows.go Outdated
OutPipe io.Writer
}

func (this*WatcherJob) Start() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method WatcherJob.Start should have comment or be unexported
receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

Comment thread watcher_windows.go
"syscall"
)

type WatcherJob struct {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type WatcherJob should have comment or be unexported

Comment thread watcher_linux.go
return job.Cmd.Run()
}

func (job *WatcherJob) Stop() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method WatcherJob.Stop should have comment or be unexported

Comment thread watcher_linux.go
OutPipe io.Writer
}

func (job *WatcherJob) Start() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported method WatcherJob.Start should have comment or be unexported

Comment thread watcher_linux.go
"syscall"
)

type WatcherJob struct {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported type WatcherJob should have comment or be unexported

Comment thread utils.go
}


func GetApp() *cli.App {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported function GetApp should have comment or be unexported

Comment thread utils.go
"github.com/urfave/cli"
)

func GetLogger(level zapcore.Level) *zap.Logger {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exported function GetLogger should have comment or be unexported

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-82.8%) to 17.181% when pulling dca48d3 on feature/refactor into fb0cb7b on master.

2 similar comments
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-82.8%) to 17.181% when pulling dca48d3 on feature/refactor into fb0cb7b on master.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage decreased (-82.8%) to 17.181% when pulling dca48d3 on feature/refactor into fb0cb7b on master.

Comment thread watcher_windows.go Outdated
}

// Stop is function that kills job
func (this *WatcherJob) Stop() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

Comment thread watcher_windows.go Outdated
}

// Start is function that runs job's bash command
func (this*WatcherJob) Start() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

Comment thread watcher_windows.go Outdated
}

// Stop is function that kills job
func (this *WatcherJob) Stop() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

Comment thread watcher_windows.go Outdated
}

// Start is function that runs job's bash command
func (this*WatcherJob) Start() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

Comment thread watcher_windows.go Outdated
}

// Stop is function that kills job
func (this *WatcherJob) Stop() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

Comment thread watcher_windows.go Outdated
}

// Start is function that runs job's bash command
func (this*WatcherJob) Start() error {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

receiver name should be a reflection of its identity; don't use generic names such as "me", "this", or "self"

@coveralls
Copy link
Copy Markdown

coveralls commented Feb 24, 2017

Coverage Status

Coverage decreased (-82.8%) to 17.181% when pulling 11d699a on feature/refactor into fb0cb7b on master.

@coveralls
Copy link
Copy Markdown

coveralls commented Feb 24, 2017

Coverage Status

Coverage decreased (-82.8%) to 17.181% when pulling b7244e1 on feature/refactor into fb0cb7b on master.

@coveralls
Copy link
Copy Markdown

coveralls commented Feb 27, 2017

Coverage Status

Coverage decreased (-78.8%) to 21.196% when pulling 4a9e2f4 on feature/refactor into fb0cb7b on master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants