1 line
10 KiB
JSON
1 line
10 KiB
JSON
{"nodes": [{"id": "$graphify-root$_internal_db_db_go", "label": "db.go", "file_type": "code", "source_file": "internal/db/db.go", "source_location": "L1"}, {"id": "db_db", "label": "DB", "file_type": "code", "source_file": "internal/db/db.go", "source_location": "L16"}, {"id": "$graphify-root$_internal_db_db_open", "label": "Open()", "file_type": "code", "source_file": "internal/db/db.go", "source_location": "L26"}, {"id": "$graphify-root$_internal_db_db_registerdriver", "label": "registerDriver()", "file_type": "code", "source_file": "internal/db/db.go", "source_location": "L76"}, {"id": "db_db_migrate", "label": ".Migrate()", "file_type": "code", "source_file": "internal/db/db.go", "source_location": "L83"}, {"id": "db_db_migrationapplied", "label": ".migrationApplied()", "file_type": "code", "source_file": "internal/db/db.go", "source_location": "L126"}, {"id": "db_db_insertmigrationsql", "label": ".insertMigrationSQL()", "file_type": "code", "source_file": "internal/db/db.go", "source_location": "L132"}, {"id": "db_db_placeholder", "label": ".placeholder()", "file_type": "code", "source_file": "internal/db/db.go", "source_location": "L138"}], "edges": [{"source": "$graphify-root$_internal_db_db_go", "target": "go_pkg_database_sql", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_db_go", "target": "go_pkg_fmt", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L7", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_db_go", "target": "go_pkg_log_slog", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L8", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_db_go", "target": "go_pkg_strings", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L9", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_db_go", "target": "go_pkg_github_com_mattn_go_sqlite3", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L11", "weight": 1.0, "context": "import"}, {"source": "$graphify-root$_internal_db_db_go", "target": "db_db", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_internal_db_db_go", "target": "$graphify-root$_internal_db_db_open", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L26", "weight": 1.0}, {"source": "$graphify-root$_internal_db_db_open", "target": "db_db", "relation": "references", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L26", "weight": 1.0, "context": "return_type"}, {"source": "$graphify-root$_internal_db_db_go", "target": "$graphify-root$_internal_db_db_registerdriver", "relation": "contains", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L76", "weight": 1.0}, {"source": "db_db", "target": "db_db_migrate", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L83", "weight": 1.0}, {"source": "db_db", "target": "db_db_migrationapplied", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L126", "weight": 1.0}, {"source": "db_db", "target": "db_db_insertmigrationsql", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L132", "weight": 1.0}, {"source": "db_db", "target": "db_db_placeholder", "relation": "method", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L138", "weight": 1.0}, {"source": "db_db_migrate", "target": "db_db_migrationapplied", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L91", "weight": 1.0}, {"source": "db_db_migrate", "target": "db_db_insertmigrationsql", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L113", "weight": 1.0}, {"source": "db_db_migrationapplied", "target": "db_db_placeholder", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L128", "weight": 1.0}, {"source": "db_db_insertmigrationsql", "target": "db_db_placeholder", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "internal/db/db.go", "source_location": "L133", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L27"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L41"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Open", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L46"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L48"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "SetMaxOpenConns", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L53"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L54"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L55"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L57"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L58"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L60"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L61"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Ping", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L65"}, {"caller_nid": "$graphify-root$_internal_db_db_open", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L66"}, {"caller_nid": "$graphify-root$_internal_db_db_registerdriver", "callee": "ToLower", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L77"}, {"caller_nid": "db_db_migrate", "callee": "Info", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L84"}, {"caller_nid": "db_db_migrate", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L86"}, {"caller_nid": "db_db_migrate", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L87"}, {"caller_nid": "db_db_migrate", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L93"}, {"caller_nid": "db_db_migrate", "callee": "Info", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L104"}, {"caller_nid": "db_db_migrate", "callee": "Begin", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L105"}, {"caller_nid": "db_db_migrate", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L107"}, {"caller_nid": "db_db_migrate", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L109"}, {"caller_nid": "db_db_migrate", "callee": "Rollback", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L110"}, {"caller_nid": "db_db_migrate", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L111"}, {"caller_nid": "db_db_migrate", "callee": "Exec", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L113"}, {"caller_nid": "db_db_migrate", "callee": "Rollback", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L114"}, {"caller_nid": "db_db_migrate", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L115"}, {"caller_nid": "db_db_migrate", "callee": "Commit", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L117"}, {"caller_nid": "db_db_migrate", "callee": "Errorf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L118"}, {"caller_nid": "db_db_migrate", "callee": "Info", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L122"}, {"caller_nid": "db_db_migrationapplied", "callee": "Scan", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L128"}, {"caller_nid": "db_db_migrationapplied", "callee": "QueryRow", "is_member_call": true, "language": "go", "source_file": "internal/db/db.go", "source_location": "L128"}, {"caller_nid": "db_db_placeholder", "callee": "Sprintf", "is_member_call": false, "language": "go", "source_file": "internal/db/db.go", "source_location": "L140"}]} |