The sfml project implements window creation, event handling and image drawing using SFML version 2.5.
The tiny command demonstrates how to render images onto the window using the Draw and DrawRect methods. It also gives an example of a basic event loop.
go install -v github.com/mewspring/sfml/examples/tiny@master
The fonts command demonstrates how to render text using TTF fonts.
go install -v github.com/mewspring/sfml/examples/fonts@master
The many command demonstrates how to create and handle more than one window at once.
go install -v github.com/mewspring/sfml/examples/many@master
The off-screen command demonstrates how to perform hardware accelerated off-screen rendering.
go install -v github.com/mewspring/sfml/examples/off-screen@master
The soft command demonstrates how to combine software and hardware rendering.
go install -v github.com/mewspring/sfml/examples/soft@master