Refactor server and pixel
-
deplaced
main
packages in acmd
directory (as it should be done) -
changed the name of test script to more explicit one
-
refactor
server
package:
- added a
type.go
file - added a file for each type of request (at the moment, only
test_request
- small type changes
- refactor
painting
package:
- changed the name of the package
pixelwar
topainting
as it is more explicit: this package defines all the stuff to paint on a canvas - changed the name of the struct
playground
tocanvas
as it is more explicit, and reuses the actual r/Place vocabulary - changed the param of a canvas to
heigth
,width
andgrid
as it is more explicit
- change the name of the module to
gitlab.utc.fr/pixelwar_ia04/pixelwar
to allowgo install
- added a
main.go
that launches the server to allowgo install
- added some TODOS...