Update GoTemplatesFactory.java

Fix #227