Skip to content

flemming-pr/gray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gray

Gray is a simple server that can receive messages from your project. It is useful for debugging and testing purposes.

How to use?

Start the server.

go run main.go

Copy the gray folder into your porject. You may want to add it to your .gitignore to prevent it from being uploaded to your repository.

You can also use the following command to copy the gray folder into your project:

go run main.go copy PATH_TO_YOUR_PROJECT

To send something to the server, you can use the following code in your project:

import gray

func main() {
    gray.Send("Hello, World!")
}

Some examples of what you can send to the server are located in the examples/main.go folder. You can run them by using the following command:

go run examples/your_example.go

Screenshot

Screenshot

Credits

It is inspired by Ray from Spatie.

Used libraries:

About

A tool to make debugging easier. Inspired by Ray from Spatie https://myray.app/

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages