Class GoNative
- java.lang.Object
-
- io.github.atkawa7.httpsnippet.generators.CodeGenerator
-
- io.github.atkawa7.httpsnippet.generators.go.GoNative
-
public class GoNative extends CodeGenerator
-
-
Field Summary
-
Fields inherited from class io.github.atkawa7.httpsnippet.generators.CodeGenerator
client, displayName, language
-
-
Constructor Summary
Constructors Constructor Description GoNative()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderrorCheck(CodeBuilder builder)java.lang.StringerrorPlaceholder()protected java.lang.StringgenerateCode(CodeRequest codeRequest)intindent()-
Methods inherited from class io.github.atkawa7.httpsnippet.generators.CodeGenerator
code, toJson, toPrettyJson, toString
-
-
-
-
Method Detail
-
errorPlaceholder
public java.lang.String errorPlaceholder()
-
indent
public int indent()
-
errorCheck
public void errorCheck(CodeBuilder builder)
-
generateCode
protected java.lang.String generateCode(CodeRequest codeRequest) throws java.lang.Exception
- Specified by:
generateCodein classCodeGenerator- Throws:
java.lang.Exception
-
-