gotoimage

package module
v0.0.0-...-0da2d09 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2021 License: MIT Imports: 15 Imported by: 0

README

gotoimage

A client for remote executing golang for Go users

If you don't have a go environment and you want to execute your go code, Feel free to use this tool to execute your code from remote go environment "https://play.golang.org/"

import "github.com/perfect6566/gotoimage"

depend on:

Please make sure you have installed chrome browser

Basic usage notes:

  1. go build -o gotoimage example/main.go ; Build the execute file named gotoimage

  2. Run gotoimage.exe (windows) or gotoimage(for linux),Input the source golang code filename, then it will open "https://play.golang.org/" with your golang by chrome, and paste your code to the webpage execution area,then it will click the format and run button to run your code, after Execution Completed, it will screenshot for the chrome page result and save to filename.png

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Existfile

func Existfile(filename string) bool

func Render

func Render(sourcefile string) ([]byte, error)

func Saveimage

func Saveimage(name string, buf []byte) error

save the result image as png

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL