mirror of
https://github.com/ritz078/transform.git
synced 2026-12-03 13:39:54 +03:00
fixed go formatting
This commit is contained in:
1 parent
348f9b32c5
commit
d4f91dd2b9
3 files changed
+7
-1
No files matched your search
+2
-1
@@ -4,9 +4,10 @@ import Layout from "../components/Layout";
|
||||
import ConversionPanel from "../components/ConversionPanel";
|
||||
import defaultText from "../utils/dummy-json";
|
||||
import json2go from "../utils/json-to-go"
|
||||
import gofmt from "gofmt.js"
|
||||
|
||||
export default class extends PureComponent {
|
||||
getTransformedValue = code => json2go(code).go
|
||||
getTransformedValue = code => gofmt(json2go(code).go)
|
||||
|
||||
render() {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user