init commit

This commit is contained in:
ycl
2024-08-05 16:14:01 +08:00
commit 057beca6f9
49 changed files with 2741 additions and 0 deletions

16
template/.idea/dataSources.xml generated Normal file
View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
<data-source source="LOCAL" name="{{ .db_database }}" uuid="{{ uuidv4 }}">
<driver-ref>mysql.8</driver-ref>
<synchronize>true</synchronize>
{{- if eq .dbType "mysql" }}
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
{{- else if eq .dbType "postgresql" }}
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
{{- end }}
<jdbc-url>jdbc:{{ .dbType }}://{{ .db_address }}/{{ .db_database }}</jdbc-url>
<working-dir>$ProjectFileDir$</working-dir>
</data-source>
</component>
</project>