Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for mutiple schemas #491

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refactor: clarity (#467)
* Updated the  basic documentation example

* Improving code clarity
I'm starting to make some changes to the code documentation here. I'm including a bit of refactoring to make sure that things are more readable.

- The code extensively uses the short variable names to the detriment of the readability. This compounds the problem of not having enough code documentation.

- While golang recommends short variable names, the intention is to avoid long nested function calls and to avoid diverting the attention from the main logic of the program. However, even the main logic variables have really short names making it almost impossible to read.

* Incremental renaming of variables in intro.go
  • Loading branch information
rkrishnasanka committed Apr 15, 2024

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit 46326df2ffd31d776addf22fd74b0406e66489fd
1 change: 1 addition & 0 deletions core/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (

// Initializes the graphjin instance with the config
func (gj *GraphjinEngine) initConfig() error {

c := gj.conf

tableMap := make(map[string]struct{})
Expand Down