All Projects → airplayx → Gormat

airplayx / Gormat

Licence: gpl-3.0
☄ The golang convenient converter supports Database to Struct, SQL to Struct, and JSON to Struct.

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Gormat

Exchanger
🏢 Currency exchange rates framework for PHP
Stars: ✭ 133 (-38.14%)
Mutual labels:  conversion
Pyreadstat
Python package to read sas, spss and stata files into pandas data frames. It is a wrapper for the C library readstat.
Stars: ✭ 151 (-29.77%)
Mutual labels:  conversion
Lcd Image Converter
Tool to create bitmaps and fonts for embedded applications, v.2
Stars: ✭ 176 (-18.14%)
Mutual labels:  conversion
Typestat
Converts JavaScript to TypeScript and TypeScript to better TypeScript.
Stars: ✭ 136 (-36.74%)
Mutual labels:  conversion
Figmatocode
Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI.
Stars: ✭ 2,299 (+969.3%)
Mutual labels:  conversion
Wannabe bool
If string, numeric, symbol and nil values wanna be a boolean value, they can with the new #to_b method (and more).
Stars: ✭ 156 (-27.44%)
Mutual labels:  conversion
Asm2c
Tool to convert DOS Assembly code to C code
Stars: ✭ 121 (-43.72%)
Mutual labels:  conversion
Util
A collection of useful utility functions
Stars: ✭ 201 (-6.51%)
Mutual labels:  conversion
Sv2v
SystemVerilog to Verilog conversion
Stars: ✭ 151 (-29.77%)
Mutual labels:  conversion
Elasticsearch Analysis Pinyin
This Pinyin Analysis plugin is used to do conversion between Chinese characters and Pinyin.
Stars: ✭ 2,215 (+930.23%)
Mutual labels:  conversion
Swiftrewriter
A Swift Package Manager console app and library to convert Objective-C code into Swift.
Stars: ✭ 140 (-34.88%)
Mutual labels:  conversion
Effectsize
🐉 Compute and work with indices of effect size and standardized parameters
Stars: ✭ 146 (-32.09%)
Mutual labels:  conversion
Colourful
🎨 Open source .NET library for working with color spaces.
Stars: ✭ 161 (-25.12%)
Mutual labels:  conversion
Hrconvert2
A self-hosted, drag-and-drop, & nosql file conversion server that supports 62x file formats.
Stars: ✭ 132 (-38.6%)
Mutual labels:  conversion
Mirage
🎨 GUI for simplifying Elasticsearch Query DSL
Stars: ✭ 2,143 (+896.74%)
Mutual labels:  database-gui
Calibre Kobo Driver
An extension of the existing KoboTouch driver provided with Calibre. This plugin allows modifying ePub files to enable extra Kobo features. I am providing code in the repository to you under an open source license. Because this is my personal repository, the license you receive to my code is from me and not my employer.
Stars: ✭ 129 (-40%)
Mutual labels:  conversion
Convertio Php
Convertio APIs Client Library for PHP
Stars: ✭ 153 (-28.84%)
Mutual labels:  conversion
Bedops
🔬 BEDOPS: high-performance genomic feature operations
Stars: ✭ 215 (+0%)
Mutual labels:  conversion
Paper
Hassle-free HTML to PDF conversion abstraction library.
Stars: ✭ 196 (-8.84%)
Mutual labels:  conversion
Color
A little library to deal with color conversions
Stars: ✭ 166 (-22.79%)
Mutual labels:  conversion

Gormat - Cross platform gopher tool

The golang convenient converter supports Database to Struct, SQL to Struct, and JSON to Struct.

Go Go Report Card codecov shields 中文说明

image

Features

  • [x] Database to Struct
    • [x] Data engine
      • [x] Mysql
    • [x] Auto save file
    • [x] Tags
      • [x] Gorm
      • [x] Xrom
      • [x] JSON
    • [x] Exclude list
    • [x] Data mapping
    • [x] Custom transformation
  • [x] SQL to Struct
  • [x] JSON to Struct

About

In golang development, there are times when you need to tap the structure manually and store it manually.Although Gorm has the ability to migrate automatically, it does not form database fields effectively and ideally.There are also many open source examples on the web, but there are no user-friendly and easy-to-manage tools, so I started this project with the goal of more efficient development, conversion and ready-to-use.

This project borrows a lot of code from open source conversion libraries and makes some adjustments in conjunction with orm.There are many problems encountered in the development, and Fyne is a GUI development framework with many pits, which should not be further discussed.Whether it is a database to Struct or a SQL to Struct statement, there are still some errors, so the conversion results are only for reference, please adjust the use of the actual project.

Prerequisites

golang 1.11+

Installation

No additional environment is required for installation and use, move to releases to download.

Different platforms need to install additional development environments.

Linux and BSD:

Ubuntu / Debian: sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev
Fedora: sudo dnf install golang gcc libXcursor-devel libXrandr-devel mesa-libGL-devel libXi-devel libXinerama-devel
Solus: sudo eopkg it -c system.devel golang mesalib-devel libxrandr-devel libxcursor-devel libxi-devel libxinerama-devel
Arch Linux: sudo pacman -S go xorg-server-devel

Windows:

Gcc

Usage example

SET CGO_ENABLED=1
SET CC=x86_64-w64-mingw32-gcc
SET GOOS=windows
SET GOARCH=amd64
go build -o gormat.exe -ldflags="-H windowsgui"

In this project, Fyne is used for development. For more steps of packaging and compiling, please refer to https://fyne.io/develop/distribution.html

Thanks

github.com/hsyan2008/gom
github.com/fatih/structtag
github.com/yujiahaol68/sql2struct
github.com/bashtian/jsonutils

License

For the MIT agreement of this project, please click LICENSE for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].