# README
Notes
- Installation
Use go get.
go get github.com/rahmathidayat72/golang-module
Then import the module package into your own code.
import "github.com/rahmathidayat72/golang-module"
# Functions
ApplyDynamicSearch melakukan pencarian dinamis pada kolom-kolom tertentu dengan satu string pencarian.
ApplyFilters menerapkan filter pada query berdasarkan map filter yang diberikan.
ApplySort melakukan pengurutan dinamis berdasarkan field sort yang valid.
BuildPagination membangun struktur Pagination dari parameter query yang diberikan.
No description provided by the author
CalculatePercentage menghitung presentasi dari dua nilai nilai int atau flaot64.
CalculatePercentageString menghitung presentasi dari dua nilai dalam bentuk string.
compare password.
CountCurrentPageRange menghitung rentang halaman saat ini.
CountFilteredData menghitung total jumlah rekord setelah menerapkan filter.
CountTotalData menghitung total jumlah rekord dalam tabel.
untuk fungsi DateFormatValidation tahun dapat di isi dengan bebas asal terdiri dari 4 angka.
No description provided by the author
No description provided by the author
generateUUIDV4 menghasilkan UUID versi 4.
Fungsi untuk mengambil token dari header Authorization.
HashPassword meng-encrypt password menggunakan bcrypt.
....Fungsi untuk menghasilkan hash SHA-256 dari data....
HashSHA384 menghasilkan hash SHA-384 dari data.
HashSHA512 menghasilkan hash SHA-512 dari data.
....ValidasiFormatGambar memeriksa apakah file memiliki format gambar yang diizinkan....
....input kombinasi password....
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
....ValidasiFormatAudio....
....Validasi Format File Office....
....ValidasiFormatVideo....
....validasi untuk inputan no telepon....
....validasi untuk inputan yang wajib diisi....
....ValidasiURL memeriksa apakah input memiliki format URL yang valid....
....ValidasiFormatTanggal saat ini (DD-MM-YYYY)...
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
Pagination adalah struktur yang merepresentasikan parameter pagination.
Paginator adalah struktur yang merepresentasikan detail pagination.
No description provided by the author