GithubHelp home page GithubHelp logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
An alternative to a native UI is to display the image in the browser.  Attached 
are two files implementing that idea:

  exercise_images.go:
    Fills an image using the Pic function above.
  serve_pic.go:
    A modification of go-tour/pic.go.
    Exports functions ToImage and ServeImage, the latter runs
    a http server on port 4000 serving the image as a png.

Original comment by [email protected] on 8 Apr 2012 at 3:29

Attachments:

from go-tour.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
It's designed to be run from the tour interface, which interprets such 
responses correctly and displays the image.

Original comment by [email protected] on 4 Sep 2012 at 5:22

  • Changed state: WontFix

from go-tour.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Well, that makes sense.  Perhaps an update to the tour or code to indicate that 
fact?

Original comment by [email protected] on 4 Sep 2012 at 3:09

from go-tour.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Does not display an image in the tour web interface either. Attached are 
results of running the same code in Chrome and Firefox:

Original comment by [email protected] on 27 Mar 2013 at 11:43

Attachments:

from go-tour.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
I'm having the same problem on OSX 

Original comment by [email protected] on 29 Mar 2013 at 11:42

from go-tour.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
This does not work in the tour interface in Chrome on OSX, using the latest 
64-bit binaries (go1.0.3 Mac OS X (x86 64-bit)).

Original comment by [email protected] on 31 Mar 2013 at 6:36

from go-tour.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
Thanks for the report folks, a fix is in the works:
https://codereview.appspot.com/8286043

Original comment by [email protected] on 2 Apr 2013 at 9:32

  • Changed title: pic.Show doesn't work from local tour interface
  • Changed state: Started

from go-tour.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 24, 2024
This issue was closed by revision 0afa8a2c0850.

Original comment by [email protected] on 2 Apr 2013 at 9:59

  • Changed state: Fixed

from go-tour.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.